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/unix.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/unix.c')
-rw-r--r-- | usr.bin/netstat/unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/netstat/unix.c b/usr.bin/netstat/unix.c index 345e28a..8941a26 100644 --- a/usr.bin/netstat/unix.c +++ b/usr.bin/netstat/unix.c @@ -152,7 +152,7 @@ unixdomainpr(xunp, so) (long)so->so_pcb, socktype[so->so_type], so->so_rcv.sb_cc, so->so_snd.sb_cc, (long)unp->unp_vnode, (long)unp->unp_conn, - (long)unp->unp_refs.lh_first, (long)unp->unp_reflink.le_next); + (long)LIST_FIRST(&unp->unp_refs), (long)LIST_NEXT(unp, unp_reflink)); if (sa) printf(" %.*s", (int)(sa->sun_len - offsetof(struct sockaddr_un, sun_path)), |