Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/netstat Remove duplicated if() statementA.
details: https://anonhg.NetBSD.org/src/rev/b0d38ce739d1
branches: trunk
changeset: 471494:b0d38ce739d1
user: hubertf <hubertf%NetBSD.org@localhost>
date: Fri Apr 02 22:45:45 1999 +0000
description:
Remove duplicated if() statementA.
This fixes PR 7308 by Feico Dillema <feico%pasta.cs.uit.no@localhost>
diffstat:
usr.bin/netstat/mbuf.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diffs (30 lines):
diff -r 179591c6ef44 -r b0d38ce739d1 usr.bin/netstat/mbuf.c
--- a/usr.bin/netstat/mbuf.c Fri Apr 02 20:39:23 1999 +0000
+++ b/usr.bin/netstat/mbuf.c Fri Apr 02 22:45:45 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mbuf.c,v 1.14 1999/03/31 23:25:46 thorpej Exp $ */
+/* $NetBSD: mbuf.c,v 1.15 1999/04/02 22:45:45 hubertf Exp $ */
/*
* Copyright (c) 1983, 1988, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "from: @(#)mbuf.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: mbuf.c,v 1.14 1999/03/31 23:25:46 thorpej Exp $");
+__RCSID("$NetBSD: mbuf.c,v 1.15 1999/04/02 22:45:45 hubertf Exp $");
#endif
#endif /* not lint */
@@ -102,11 +102,6 @@
__progname);
return;
}
- if (mbaddr == 0) {
- fprintf(stderr, "%s: mbstat: symbol not in namelist\n",
- __progname);
- return;
- }
/*XXX*/
if (msizeaddr != 0)
kread(msizeaddr, (char *)&msize, sizeof (msize));
Home |
Main Index |
Thread Index |
Old Index