diff options
author | Ed Schouten <ed@FreeBSD.org> | 2010-01-13 18:09:21 +0000 |
---|---|---|
committer | Ed Schouten <ed@FreeBSD.org> | 2010-01-13 18:09:21 +0000 |
commit | 1131779fb3dd85440f7bbcace8727edb37d9b664 (patch) | |
tree | 9d6201a456ce3d430c559a4ee7e2269f9a1ec23f /usr.bin/w/Makefile | |
parent | 86586473e3295a3874a3ea8baa5b3416108d8cc0 (diff) | |
download | src-1131779fb3dd85440f7bbcace8727edb37d9b664.tar.gz src-1131779fb3dd85440f7bbcace8727edb37d9b664.zip |
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.
Notes
Notes:
svn path=/head/; revision=202199
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 f53d8c7d5d91..1515a875ae7e 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 |