]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Clean up some \\n's on error messages
authorHarlan Stenn <stenn@ntp.org>
Tue, 20 Mar 2007 07:19:52 +0000 (02:19 -0500)
committerHarlan Stenn <stenn@ntp.org>
Tue, 20 Mar 2007 07:19:52 +0000 (02:19 -0500)
bk: 45ff8b18IoT6AI48QtQ4FrhJYPFzxw

ntpd/ntpd.c

index f7ff7bc5d48780ef18dfca8c222bcab40dc30cb7..5248c1bf2efa6b57307366069cc0b83a0cfd09e1 100644 (file)
@@ -500,7 +500,7 @@ ntpdmain(
                if (uid)
                {
                        msyslog(LOG_ERR, "ntpd: must be run as root, not uid %ld", (long)uid);
-                       printf("must be run as root, not uid %ld", (long)uid);
+                       printf("must be run as root, not uid %ld\n", (long)uid);
                        exit(1);
                }
        }
@@ -509,7 +509,7 @@ ntpdmain(
 #ifdef OPENSSL
        if ((SSLeay() ^ OPENSSL_VERSION_NUMBER) & ~0xff0L) {
                msyslog(LOG_ERR,
-                   "ntpd: OpenSSL version mismatch. Built against %lx, you have %lx\n",
+                   "ntpd: OpenSSL version mismatch. Built against %lx, you have %lx",
                    OPENSSL_VERSION_NUMBER, SSLeay());
                exit(1);
        }