Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/ntp/dist/ntpdc PR/46612 - Lloyd Parkes -- add a...



details:   https://anonhg.NetBSD.org/src/rev/64d974e77c4a
branches:  trunk
changeset: 779893:64d974e77c4a
user:      jnemeth <jnemeth%NetBSD.org@localhost>
date:      Mon Jun 25 20:23:43 2012 +0000

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

diffstat:

 external/bsd/ntp/dist/ntpdc/ntpdc.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r d4c002f231df -r 64d974e77c4a external/bsd/ntp/dist/ntpdc/ntpdc.c
--- a/external/bsd/ntp/dist/ntpdc/ntpdc.c       Mon Jun 25 19:25:07 2012 +0000
+++ b/external/bsd/ntp/dist/ntpdc/ntpdc.c       Mon Jun 25 20:23:43 2012 +0000
@@ -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 @@
        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));
 }
 
 /*



Home | Main Index | Thread Index | Old Index