sed: fix two newline-lacking diagnostics

* sed/execute.c (open_next_file): Terminate each of two fprintf format
strings with "\n".
This commit is contained in:
Jim Meyering committed 2026-04-21 07:55:02 -07:00
1 parent f491a1cc14
commit a8d3d77433
1 file changed
+2 -2
+2 -2
View File
@@ -608,7 +608,7 @@ open_next_file (const char *name, struct input *input)
reset_fscreatecon = getfscreatecon (&old_fscreatecon) >= 0;
if (setfscreatecon (con) < 0)
fprintf (stderr, _("%s: warning: failed to set default" \
" file creation context to %s: %s"),
" file creation context to %s: %s\n"),
program_name, con, strerror (errno));
freecon (con);
}
@@ -616,7 +616,7 @@ open_next_file (const char *name, struct input *input)
{
if (errno != ENOSYS)
fprintf (stderr, _("%s: warning: failed to get" \
" security context of %s: %s"),
" security context of %s: %s\n"),
program_name, input->in_file_name, strerror (errno));
}
}