From e2edc5f899055ab1868efc450a98a79a03cb26e3 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Wed, 1 Jun 2022 19:57:30 +0200 Subject: [PATCH] path: Add missing newlines to errors --- src/builtins/path.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/builtins/path.cpp b/src/builtins/path.cpp index 12cf9441f..dc29a70f9 100644 --- a/src/builtins/path.cpp +++ b/src/builtins/path.cpp @@ -247,7 +247,7 @@ static int handle_flag_t(const wchar_t **argv, parser_t &parser, io_streams_t &s } else if (t == L"link") { opts->type |= TYPE_LINK; } else { - path_error(streams, _(L"%ls: Invalid type '%ls'"), L"path", t.c_str()); + path_error(streams, _(L"%ls: Invalid type '%ls'\n"), L"path", t.c_str()); return STATUS_INVALID_ARGS; } } @@ -284,7 +284,7 @@ static int handle_flag_p(const wchar_t **argv, parser_t &parser, io_streams_t &s opts->perm |= PERM_GROUP; opts->have_special_perm = true; } else { - path_error(streams, _(L"%ls: Invalid permission '%ls'"), L"path", p.c_str()); + path_error(streams, _(L"%ls: Invalid permission '%ls'\n"), L"path", p.c_str()); return STATUS_INVALID_ARGS; } }