Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/pstat errx() prints the newline for you.



details:   https://anonhg.NetBSD.org/src/rev/5dc48c40e939
branches:  trunk
changeset: 512320:5dc48c40e939
user:      ad <ad%NetBSD.org@localhost>
date:      Mon Jul 09 17:30:37 2001 +0000

description:
errx() prints the newline for you.

diffstat:

 usr.sbin/pstat/pstat.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 8362b8ff0321 -r 5dc48c40e939 usr.sbin/pstat/pstat.c
--- a/usr.sbin/pstat/pstat.c    Mon Jul 09 16:09:02 2001 +0000
+++ b/usr.sbin/pstat/pstat.c    Mon Jul 09 17:30:37 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pstat.c,v 1.60 2001/06/05 09:20:13 mrg Exp $   */
+/*     $NetBSD: pstat.c,v 1.61 2001/07/09 17:30:37 ad Exp $    */
 
 /*-
  * Copyright (c) 1980, 1991, 1993, 1994
@@ -43,7 +43,7 @@
 #if 0
 static char sccsid[] = "@(#)pstat.c    8.16 (Berkeley) 5/9/95";
 #else
-__RCSID("$NetBSD: pstat.c,v 1.60 2001/06/05 09:20:13 mrg Exp $");
+__RCSID("$NetBSD: pstat.c,v 1.61 2001/07/09 17:30:37 ad Exp $");
 #endif
 #endif /* not lint */
 
@@ -901,7 +901,7 @@
         * Add emulation of KINFO_FILE here.
         */
        if (memf != NULL)
-               errx(1, "files on dead kernel, not implemented\n");
+               errx(1, "files on dead kernel, not implemented");
 
        mib[0] = CTL_KERN;
        mib[1] = KERN_FILE;



Home | Main Index | Thread Index | Old Index