From: Harlan Stenn Date: Tue, 20 Mar 2007 07:19:52 +0000 (-0500) Subject: Clean up some \\n's on error messages X-Git-Tag: NTP_4_2_5P19~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa2d88fed877bdc42a2062bc9316b462fbb6ab78;p=thirdparty%2Fntp.git Clean up some \\n's on error messages bk: 45ff8b18IoT6AI48QtQ4FrhJYPFzxw --- diff --git a/ntpd/ntpd.c b/ntpd/ntpd.c index f7ff7bc5d..5248c1bf2 100644 --- a/ntpd/ntpd.c +++ b/ntpd/ntpd.c @@ -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); }