summaryrefslogtreecommitdiffstats
path: root/usr.bin/w/Makefile
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-12-06 01:10:30 +0000
committered <ed@FreeBSD.org>2009-12-06 01:10:30 +0000
commit8b1e41b7e2b6f4279698ec2ad776fc1a6aa2f2a2 (patch)
treeec7d4b456ea84cdc38d59b7227bbd05382061414 /usr.bin/w/Makefile
parent6a3018e7cff16ab166672e276b4b39154ad09739 (diff)
downloadFreeBSD-src-8b1e41b7e2b6f4279698ec2ad776fc1a6aa2f2a2.zip
FreeBSD-src-8b1e41b7e2b6f4279698ec2ad776fc1a6aa2f2a2.tar.gz
Let w(1) use utmpx.
We don't have UT_*SIZE anymore. One of the reasons for that is because all strings are null terminated, there is no need for apps to copy strings out of the utmpx structure. This means we can define W_DISP*SIZE lengths for all columns. While there, adjust the sizes a little. Steal some bytes from the username column, while extending the hostname column quite a bit.
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 1515a87..f53d8c7 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} ${LIBUTIL}
-LDADD= -lkvm -lutil
+DPADD= ${LIBKVM} ${LIBULOG} ${LIBUTIL}
+LDADD= -lkvm -lulog -lutil
#BINGRP= kmem
#BINMODE=2555
LINKS= ${BINDIR}/w ${BINDIR}/uptime
OpenPOWER on IntegriCloud