Harald Hoyer b7366e
From b9b6f0ee5b859a562e46a8c4e0dee0261fabf74d Mon Sep 17 00:00:00 2001
Harald Hoyer b7366e
From: Lars Wendler <polynomial-c@gentoo.org>
Harald Hoyer b7366e
Date: Fri, 14 May 2021 16:00:27 +0200
Harald Hoyer b7366e
Subject: [PATCH] fix(dracut-util): print error message with trailing newline
Harald Hoyer b7366e
Harald Hoyer b7366e
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Harald Hoyer b7366e
---
Harald Hoyer b7366e
 src/util/util.c | 2 +-
Harald Hoyer b7366e
 1 file changed, 1 insertion(+), 1 deletion(-)
Harald Hoyer b7366e
Harald Hoyer b7366e
diff --git a/src/util/util.c b/src/util/util.c
Harald Hoyer b7366e
index 8ae06d6c..b3498df6 100644
Harald Hoyer b7366e
--- a/src/util/util.c
Harald Hoyer b7366e
+++ b/src/util/util.c
Harald Hoyer b7366e
@@ -123,7 +123,7 @@ static void usage(enum EXEC_MODE enumExecMode, int ret, char *msg)
Harald Hoyer b7366e
 {
Harald Hoyer b7366e
         switch (enumExecMode) {
Harald Hoyer b7366e
         case UNDEFINED:
Harald Hoyer b7366e
-                fprintf(stderr, "ERROR: 'dracut-util' has to be called via a symlink to the tool name.");
Harald Hoyer b7366e
+                fprintf(stderr, "ERROR: 'dracut-util' has to be called via a symlink to the tool name.\n");
Harald Hoyer b7366e
                 break;
Harald Hoyer b7366e
         case GETARG:
Harald Hoyer b7366e
                 fprintf(stderr, "ERROR: %s\nUsage: dracut-getarg <KEY>[=[<VALUE>]]\n", msg);
Harald Hoyer b7366e