From: Harlan Stenn Date: Fri, 20 Nov 2015 07:40:57 +0000 (+0000) Subject: [Bug 2958] ntpq: fatal error messages need a final newline. Craig Leres. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=476d50e180350200cb504bc198ad22278a0c1def;p=thirdparty%2Fntp.git [Bug 2958] ntpq: fatal error messages need a final newline. Craig Leres. bk: 564ece89n_o8u8QL03qtmxqaeGa-gw --- diff --git a/ChangeLog b/ChangeLog index 532e51ab0..41d4d248f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,7 @@ - accept key file only if there are no parsing errors - fixed size_t/u_int format clash - fixed wrong use of 'strlcpy' +* [Bug 2958] ntpq: fatal error messages need a final newline. Craig Leres. * [Bug 2962] truncation of size_t/ptrdiff_t on 64bit targets. perlinger@ntp.org - fixed several other warnings (cast-alignment, missing const, missing prototypes) - promote use of 'size_t' for values that express a size diff --git a/ntpq/ntpq.c b/ntpq/ntpq.c index 288e5d003..fe3fbac8b 100644 --- a/ntpq/ntpq.c +++ b/ntpq/ntpq.c @@ -2665,7 +2665,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)); } /*