Module Name:    src
Committed By:   jnemeth
Date:           Mon Jun 25 20:23:43 UTC 2012

Modified Files:
        src/external/bsd/ntp/dist/ntpdc: ntpdc.c

Log Message:
PR/46612 - Lloyd Parkes -- add a terminating newline to error messages


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 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.6
--- 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	Mon Jun 25 20:23:43 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: ntpdc.c,v 1.5 2012/02/01 22:48:15 kardel Exp $	*/
+/*	$NetBSD: ntpdc.c,v 1.6 2012/06/25 20:23:43 jnemeth 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));
 }
 
 /*

Reply via email to