summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/pppstats/pppstats.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pppstats/pppstats.c b/usr.sbin/pppstats/pppstats.c
index 454c4dd..cfde7b8 100644
--- a/usr.sbin/pppstats/pppstats.c
+++ b/usr.sbin/pppstats/pppstats.c
@@ -26,7 +26,7 @@
*/
#ifndef lint
-static char rcsid[] = "$Id: pppstats.c,v 1.3 1994/11/19 13:57:06 jkh Exp $";
+static char rcsid[] = "$Id: pppstats.c,v 1.4 1995/05/30 03:51:18 rgrimes Exp $";
#endif
#include <ctype.h>
@@ -215,13 +215,13 @@ main(argc, argv)
#elif defined(BSD4_4)
/* BSD4.4+ */
if ((kd = kvm_openfiles(system, kmemf, NULL, O_RDONLY, errbuf)) == NULL) {
- fprintf(stderr, "kvm_openfiles: %s", errbuf);
+ fprintf(stderr, "kvm_openfiles: %s\n", errbuf);
exit(1);
}
#else
/* BSD4.3+ */
if (kvm_openfiles(system, kmemf, (char *)0) == -1) {
- fprintf(stderr, "kvm_openfiles: %s", kvm_geterr());
+ fprintf(stderr, "kvm_openfiles: %s\n", kvm_geterr());
exit(1);
}
#endif
OpenPOWER on IntegriCloud