From 9696e88733242ee86a01e1c3d6332d8c8118566e Mon Sep 17 00:00:00 2001 From: bde Date: Thu, 13 Jul 1995 15:59:41 +0000 Subject: There was no newline in the error message for kvm_openfiles(). --- usr.sbin/pppstats/pppstats.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.sbin/pppstats') 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 @@ -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 -- cgit v1.1