Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 2007 21:11:17 GMT
From:      "Christian S.J. Peron" <csjp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 113793 for review
Message-ID:  <200701312111.l0VLBHUH030849@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=113793

Change 113793 by csjp@csjp_rnd01 on 2007/01/31 21:10:30

	Use correct bpf_d pointer when processing PID

Affected files ...

.. //depot/projects/zcopybpf/src/usr.sbin/netstat/bpf.c#4 edit

Differences ...

==== //depot/projects/zcopybpf/src/usr.sbin/netstat/bpf.c#4 (text+ko) ====

@@ -124,7 +124,7 @@
 		if (ifname && strcmp(ifname, d->bd_ifname) != 0)
 			continue;
 		pname = bpf_pidname(d->bd_pid);
-		(void) printf("%s: pid %d on %s:\n", pname, bd->bd_pid,
+		(void) printf("%s: pid %d on %s:\n", pname, d->bd_pid,
 		    d->bd_ifname);
 		(void) printf(
 		    "\t%lu packets received\n"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701312111.l0VLBHUH030849>