summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rwhod
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-01-13 18:17:53 +0000
committered <ed@FreeBSD.org>2010-01-13 18:17:53 +0000
commit57d10a6e95a4cdb97bc1a8c3125f1a2719736ccf (patch)
tree10b814541a563afa6b8b679658d5f3d3d04162dc /usr.sbin/rwhod
parent7297d6b5779271a7e43264e39e539c880d9d50fa (diff)
downloadFreeBSD-src-57d10a6e95a4cdb97bc1a8c3125f1a2719736ccf.zip
FreeBSD-src-57d10a6e95a4cdb97bc1a8c3125f1a2719736ccf.tar.gz
Port all applications in usr.sbin/ from libulog to utmpx.
Diffstat (limited to 'usr.sbin/rwhod')
-rw-r--r--usr.sbin/rwhod/Makefile3
-rw-r--r--usr.sbin/rwhod/rwhod.c3
2 files changed, 1 insertions, 5 deletions
diff --git a/usr.sbin/rwhod/Makefile b/usr.sbin/rwhod/Makefile
index 439a11c..f1b5d99 100644
--- a/usr.sbin/rwhod/Makefile
+++ b/usr.sbin/rwhod/Makefile
@@ -6,7 +6,4 @@ MAN= rwhod.8
WARNS?= 3
-DPADD= ${LIBULOG}
-LDADD= -lulog
-
.include <bsd.prog.mk>
diff --git a/usr.sbin/rwhod/rwhod.c b/usr.sbin/rwhod/rwhod.c
index 9679fae..6b63843 100644
--- a/usr.sbin/rwhod/rwhod.c
+++ b/usr.sbin/rwhod/rwhod.c
@@ -67,9 +67,8 @@ __FBSDID("$FreeBSD$");
#include <string.h>
#include <syslog.h>
#include <timeconv.h>
-#define _ULOG_POSIX_NAMES
-#include <ulog.h>
#include <unistd.h>
+#include <utmpx.h>
#include <pwd.h>
#include <grp.h>
OpenPOWER on IntegriCloud