From 6b52790dd22cc9ac549e22cd2e0acb1a267f72f4 Mon Sep 17 00:00:00 2001 From: cgd Date: Mon, 3 Jun 1996 18:50:26 +0000 Subject: [PATCH] warnx() already outputs newline; warnings for undefined symbols don't need an extra one. --- usr.sbin/pstat/pstat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/pstat/pstat.c b/usr.sbin/pstat/pstat.c index d69004f63855..1d8217ef011d 100644 --- a/usr.sbin/pstat/pstat.c +++ b/usr.sbin/pstat/pstat.c @@ -1,4 +1,4 @@ -/* $NetBSD: pstat.c,v 1.23 1996/05/31 00:09:38 cgd Exp $ */ +/* $NetBSD: pstat.c,v 1.24 1996/06/03 18:50:26 cgd Exp $ */ /*- * Copyright (c) 1980, 1991, 1993 @@ -43,7 +43,7 @@ static char copyright[] = #if 0 from: static char sccsid[] = "@(#)pstat.c 8.9 (Berkeley) 2/16/94"; #else -static char *rcsid = "$NetBSD: pstat.c,v 1.23 1996/05/31 00:09:38 cgd Exp $"; +static char *rcsid = "$NetBSD: pstat.c,v 1.24 1996/06/03 18:50:26 cgd Exp $"; #endif #endif /* not lint */ @@ -218,7 +218,7 @@ main(argc, argv) for (i = quit = 0; i <= NLMANDATORY; i++) if (!nl[i].n_value) { quit = 1; - warnx("undefined symbol: %s\n", nl[i].n_name); + warnx("undefined symbol: %s", nl[i].n_name); } if (quit) exit(1);