diff options
author | brian <brian@FreeBSD.org> | 2001-07-26 19:20:13 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2001-07-26 19:20:13 +0000 |
commit | d106b78011ceca12159f46d0be07e2d54237c469 (patch) | |
tree | c599bbb38a77546814bca8015ea54095b22da461 /usr.bin/w/Makefile | |
parent | e8ae8d1bf4f1b0d1984c5a45d58d8994cbee6d48 (diff) | |
download | FreeBSD-src-d106b78011ceca12159f46d0be07e2d54237c469.zip FreeBSD-src-d106b78011ceca12159f46d0be07e2d54237c469.tar.gz |
When -n is specified, don't attempt to turn hostnames found in utmp
into addresses as we have no idea what address family they belong to.
When -n is not specified, resolve IPv6 as well as IPv4 addresses found
in the host field of utmp. Use realhostname_sa() to resolve addresses
(the old code was wrong).
Rename ``x'' to ``x_suffix'' to avoid confusion.
Hard code the host column width to 16 (against the imminent increase
of UT_HOSTSIZE in utmp.h).
Diffstat (limited to 'usr.bin/w/Makefile')
-rw-r--r-- | usr.bin/w/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/w/Makefile b/usr.bin/w/Makefile index 7de8f19..1515a87 100644 --- a/usr.bin/w/Makefile +++ b/usr.bin/w/Makefile @@ -4,8 +4,8 @@ PROG= w SRCS= fmt.c pr_time.c proc_compare.c w.c MAN= w.1 uptime.1 -DPADD= ${LIBKVM} -LDADD= -lkvm +DPADD= ${LIBKVM} ${LIBUTIL} +LDADD= -lkvm -lutil #BINGRP= kmem #BINMODE=2555 LINKS= ${BINDIR}/w ${BINDIR}/uptime |