Subject: bin/7308: A Harmless CVS-merge-error in netstat
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dillema@acm.org>
List: netbsd-bugs
Date: 04/02/1999 23:32:23
>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 (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr  2 13:35:00 1999
>Last-Modified:
>Originator:     Feico Dillema
>Organization:
University of Tromso
>Release:        Fri Apr 2 1999
>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;
        }

>Audit-Trail:
>Unformatted: