From d241f0853e7b65e04343d3f0b92ed49e6d0754c3 Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Sun, 24 Jul 2022 13:17:06 +0200 Subject: [PATCH] status: Do add the command name to the error --- src/builtins/status.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/builtins/status.cpp b/src/builtins/status.cpp index 4f97a31d0..d4a1e70d2 100644 --- a/src/builtins/status.cpp +++ b/src/builtins/status.cpp @@ -460,7 +460,7 @@ maybe_t builtin_status(parser_t &parser, io_streams_t &streams, const wchar streams.out.append(*real); streams.out.push_back(L'\n'); } else { - streams.err.append_format(L"realpath failed: '%s'\n", cmd, std::strerror(errno)); + streams.err.append_format(L"%ls: realpath failed: '%s'\n", cmd, std::strerror(errno)); } break; }