summaryrefslogtreecommitdiffstats
path: root/usr.bin/w/Makefile
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-01-13 18:09:21 +0000
committered <ed@FreeBSD.org>2010-01-13 18:09:21 +0000
commit7aa5833636168ba9989927eb04dc999194aa0d6d (patch)
tree9d6201a456ce3d430c559a4ee7e2269f9a1ec23f /usr.bin/w/Makefile
parent3ee361c8b5015567cf35ed84e91595e1597b0b6c (diff)
downloadFreeBSD-src-7aa5833636168ba9989927eb04dc999194aa0d6d.zip
FreeBSD-src-7aa5833636168ba9989927eb04dc999194aa0d6d.tar.gz
Port w(1) to utmpx.
Let it print "-" when the TTY string is empty. In this case, it must also make sure it doesn't match processes who also have no controlling TTY. Otherwise it will print random kernel processes when trying to pick the best matching process. Eventually it should look at the value of ut_pid as well.
Diffstat (limited to 'usr.bin/w/Makefile')
-rw-r--r--usr.bin/w/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/w/Makefile b/usr.bin/w/Makefile
index f53d8c7..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} ${LIBULOG} ${LIBUTIL}
-LDADD= -lkvm -lulog -lutil
+DPADD= ${LIBKVM} ${LIBUTIL}
+LDADD= -lkvm -lutil
#BINGRP= kmem
#BINMODE=2555
LINKS= ${BINDIR}/w ${BINDIR}/uptime
OpenPOWER on IntegriCloud