]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 2958] ntpq: fatal error messages need a final newline. Craig Leres.
authorHarlan Stenn <stenn@ntp.org>
Fri, 20 Nov 2015 07:40:57 +0000 (07:40 +0000)
committerHarlan Stenn <stenn@ntp.org>
Fri, 20 Nov 2015 07:40:57 +0000 (07:40 +0000)
bk: 564ece89n_o8u8QL03qtmxqaeGa-gw

ChangeLog
ntpq/ntpq.c

index 532e51ab08bc4a8df78bff190c64ae89b5dc54b8..41d4d248f296195e6e04cb2c57ddf26c1889f9ad 100644 (file)
--- 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
index 288e5d00365c4f9e40532cbab8279301ec35f1c7..fe3fbac8b2a5ad5c69b3b2509ecbb8204a35e8b5 100644 (file)
@@ -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));
 }
 
 /*