Add missing newline
authorJoseph C. Lehner <joseph.c.lehner@gmail.com>
Tue, 9 Aug 2016 15:40:18 +0000 (17:40 +0200)
committerJoseph C. Lehner <joseph.c.lehner@gmail.com>
Tue, 9 Aug 2016 15:40:18 +0000 (17:40 +0200)
main.c

diff --git a/main.c b/main.c
index 4a0ecc7beb0175e08e6a629a20e9b21ba685bb47..b0740e71047540db986f0c1554a39cd2d1e88ee0 100644 (file)
--- a/main.c
+++ b/main.c
@@ -88,7 +88,7 @@ void require_admin()
        if (success) {
                if (CheckTokenMembership(NULL, adminGroup, &success)) {
                        if (!success) {
-                               fprintf(stderr, "Error: must be run as administrator");
+                               fprintf(stderr, "Error: must be run as administrator\n");
                                exit(1);
                        } else {
                                return;
@@ -97,13 +97,13 @@ void require_admin()
                FreeSid(adminGroup);
        }
 
-       fprintf(stderr, "Warning: failed to check administrator privileges");
+       fprintf(stderr, "Warning: failed to check administrator privileges\n");
 }
 #else
 void require_admin()
 {
        if (getuid() != 0) {
-               fprintf(stderr, "Error: must be run as root");
+               fprintf(stderr, "Error: must be run as root\n");
                exit(1);
        }
 }