Skip to content

Commit

Permalink
fix(dracut-util): print error message with trailing newline
Browse files Browse the repository at this point in the history
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
  • Loading branch information
Lars Wendler authored and johannbg committed May 14, 2021
1 parent f634448 commit b9b6f0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ static void usage(enum EXEC_MODE enumExecMode, int ret, char *msg)
{
switch (enumExecMode) {
case UNDEFINED:
fprintf(stderr, "ERROR: 'dracut-util' has to be called via a symlink to the tool name.");
fprintf(stderr, "ERROR: 'dracut-util' has to be called via a symlink to the tool name.\n");
break;
case GETARG:
fprintf(stderr, "ERROR: %s\nUsage: dracut-getarg <KEY>[=[<VALUE>]]\n", msg);
Expand Down

0 comments on commit b9b6f0e

Please sign in to comment.