Module Name: src
Committed By: jdc
Date: Wed Jul 4 20:55:44 UTC 2012
Modified Files:
src/external/bsd/ntp/dist/ntpdc [netbsd-6]: ntpdc.c
Log Message:
Pull up revision 1.6 (requested by jnemeth in ticket #387).
PR/46612 - Lloyd Parkes -- add a terminating newline to error messages
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.5.2.1 src/external/bsd/ntp/dist/ntpdc/ntpdc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/ntp/dist/ntpdc/ntpdc.c
diff -u src/external/bsd/ntp/dist/ntpdc/ntpdc.c:1.5 src/external/bsd/ntp/dist/ntpdc/ntpdc.c:1.5.2.1
--- src/external/bsd/ntp/dist/ntpdc/ntpdc.c:1.5 Wed Feb 1 22:48:15 2012
+++ src/external/bsd/ntp/dist/ntpdc/ntpdc.c Wed Jul 4 20:55:44 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: ntpdc.c,v 1.5 2012/02/01 22:48:15 kardel Exp $ */
+/* $NetBSD: ntpdc.c,v 1.5.2.1 2012/07/04 20:55:44 jdc Exp $ */
/*
* ntpdc - control and monitor your ntpd daemon
@@ -1932,7 +1932,7 @@ vwarning(const char *fmt, va_list ap)
int serrno = errno;
(void) fprintf(stderr, "%s: ", progname);
vfprintf(stderr, fmt, ap);
- (void) fprintf(stderr, ": %s", strerror(serrno));
+ (void) fprintf(stderr, ": %s\n", strerror(serrno));
}
/*