[Git][NTPsec/ntpsec][master] Forward-port from Classic: [Bug 2958] ntpq: fatal error messages need a final newline.

Eric S. Raymond gitlab at mg.gitlab.com
Mon Mar 21 02:02:03 UTC 2016


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
2eb018d0 by Craig Leres at 2016-03-20T21:59:45-04:00
Forward-port from Classic: [Bug 2958] ntpq: fatal error messages need a final newline.

- - - - -


1 changed file:

- ntpq/ntpq.c


Changes:

=====================================
ntpq/ntpq.c
=====================================
--- a/ntpq/ntpq.c
+++ b/ntpq/ntpq.c
@@ -2586,7 +2586,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));
 }
 
 /*



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/2eb018d0870e8ee6df330611161bd768cb5eb498
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160321/f4ae51f3/attachment.html>


More information about the vc mailing list