Source-Changes-HG archive

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

[src/netbsd-6]: src/external/bsd/ntp/dist/ntpdc Pull up revision 1.6 (request...



details:   https://anonhg.NetBSD.org/src/rev/e17d127a67a4
branches:  netbsd-6
changeset: 774298:e17d127a67a4
user:      jdc <jdc%NetBSD.org@localhost>
date:      Wed Jul 04 20:55:44 2012 +0000

description:
Pull up revision 1.6 (requested by jnemeth in ticket #387).

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 cfded061dee6 -r e17d127a67a4 external/bsd/ntp/dist/ntpdc/ntpdc.c
--- a/external/bsd/ntp/dist/ntpdc/ntpdc.c       Wed Jul 04 20:48:55 2012 +0000
+++ b/external/bsd/ntp/dist/ntpdc/ntpdc.c       Wed Jul 04 20:55:44 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.5.2.1 2012/07/04 20:55:44 jdc 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