NetBSD Problem Report #7308

Received: (qmail 18269 invoked from network); 2 Apr 1999 21:32:24 -0000
Message-Id: <199904022132.XAA03853@dillema.cs.uit.no>
Date: Fri, 2 Apr 1999 23:32:23 +0200 (CEST)
From: dillema@acm.org
Reply-To: feico@pasta.cs.uit.no
To: gnats-bugs@gnats.netbsd.org
Subject: A Harmless CVS-merge-error in netstat
X-Send-Pr-Version: 3.95

>Number:         7308
>Category:       bin
>Synopsis:       A few duplicated lines in /usr/src/usr.bin/netstat/mbuf.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 02 13:35:00 +0000 1999
>Closed-Date:    Fri Apr 02 22:46:42 +0000 1999
>Last-Modified:  Fri Apr 02 22:52:05 +0000 1999
>Originator:     Feico Dillema
>Release:        Fri Apr 2 1999
>Organization:
University of Tromso
>Environment:
NetBSD-current 
System: NetBSD dillema.cs.uit.no 1.3K NetBSD 1.3K (DILLEMAv6) #3: Fri Apr 2 18:18:55 CEST 1999 root@dillema.cs.uit.no:/home/src/src/sys-kame/arch/i386/compile/DILLEMAv6 i386


>Description:
	A few lines in /usr/src/usr.bin/netstat/mbuf.c got duplicated (maybe by CVS-merge?).
	It has only easthetic effect, code is still correct, so reeeaally low-priority thing.

>How-To-Repeat:
        vi +105 /usr/src/usr.bin/netstat/mbuf.c
>Fix:

In routine: mbpr(mbaddr, msizeaddr, mclbaddr, mbpooladdr, mclpooladdr)
delete one of the two (e.g. lines 105-109 in netstat/mbuf.c):

        if (mbaddr == 0) {
                fprintf(stderr, "%s: mbstat: symbol not in namelist\n",
                    __progname);
                return;
        }

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: hubertf 
State-Changed-When: Fri Apr 2 14:46:42 PST 1999 
State-Changed-Why:  
I've removed the duplicated if() command, thanks 
for reporting this! 


- Hubert 
. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.