diff options
author | phk <phk@FreeBSD.org> | 2000-12-30 21:22:54 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-12-30 21:22:54 +0000 |
commit | 4ea1588b37cbd62c1c2af3dfbd4c731cde0ea954 (patch) | |
tree | 9ac39e772206422e253c9adf65e198f5b0082074 /usr.bin/netstat/netgraph.c | |
parent | 4cc97bc78a4b54701485e6d8ce445ad01c69e5b1 (diff) | |
download | FreeBSD-src-4ea1588b37cbd62c1c2af3dfbd4c731cde0ea954.zip FreeBSD-src-4ea1588b37cbd62c1c2af3dfbd4c731cde0ea954.tar.gz |
Use macro API to <sys/queue.h>
Submitted by: "Jason" <jsmethers@pdq.net>
Reviewed by: phk
Diffstat (limited to 'usr.bin/netstat/netgraph.c')
-rw-r--r-- | usr.bin/netstat/netgraph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/netstat/netgraph.c b/usr.bin/netstat/netgraph.c index 82a2d87..17cc9a0 100644 --- a/usr.bin/netstat/netgraph.c +++ b/usr.bin/netstat/netgraph.c @@ -134,7 +134,7 @@ netgraphprotopr(u_long off, char *name) /* Read in ngpcb structure */ kread((u_long)this, (char *)&ngpcb, sizeof(ngpcb)); - next = ngpcb.socks.le_next; + next = LIST_NEXT(&ngpcb, socks); /* Read in socket structure */ kread((u_long)ngpcb.ng_socket, (char *)&sockb, sizeof(sockb)); |