summaryrefslogtreecommitdiffstats
path: root/usr.bin/users
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-01-13 18:09:54 +0000
committered <ed@FreeBSD.org>2010-01-13 18:09:54 +0000
commita618bd1a158a3f8174b7ede338f30c70df7cf77b (patch)
tree66d7905a7dddba5593f48b0defbadd5033878357 /usr.bin/users
parent7aa5833636168ba9989927eb04dc999194aa0d6d (diff)
downloadFreeBSD-src-a618bd1a158a3f8174b7ede338f30c70df7cf77b.zip
FreeBSD-src-a618bd1a158a3f8174b7ede338f30c70df7cf77b.tar.gz
Perform all trivial ports to utmpx for usr.bin/.
They were already converted to use libulog, so it's easy to convert them to utmpx.
Diffstat (limited to 'usr.bin/users')
-rw-r--r--usr.bin/users/Makefile3
-rw-r--r--usr.bin/users/users.c3
2 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/users/Makefile b/usr.bin/users/Makefile
index 53274b9..3d6524b 100644
--- a/usr.bin/users/Makefile
+++ b/usr.bin/users/Makefile
@@ -3,7 +3,4 @@
PROG= users
-DPADD= ${LIBULOG}
-LDADD= -lulog
-
.include <bsd.prog.mk>
diff --git a/usr.bin/users/users.c b/usr.bin/users/users.c
index 8000c03..ccf8006 100644
--- a/usr.bin/users/users.c
+++ b/usr.bin/users/users.c
@@ -51,9 +51,8 @@ static const char rcsid[] =
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#define _ULOG_POSIX_NAMES
-#include <ulog.h>
#include <unistd.h>
+#include <utmpx.h>
typedef char namebuf[MAXLOGNAME];
OpenPOWER on IntegriCloud