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; }