summaryrefslogtreecommitdiffstats
path: root/usr.bin/systat
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/systat
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/systat')
-rw-r--r--usr.bin/systat/Makefile4
-rw-r--r--usr.bin/systat/vmstat.c3
2 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/systat/Makefile b/usr.bin/systat/Makefile
index 5ecac6e..bdd41c6 100644
--- a/usr.bin/systat/Makefile
+++ b/usr.bin/systat/Makefile
@@ -16,7 +16,7 @@ CFLAGS+= -DINET6
WARNS?= 0
-DPADD= ${LIBCURSES} ${LIBM} ${LIBDEVSTAT} ${LIBKVM} ${LIBULOG}
-LDADD= -lcursesw -lm -ldevstat -lkvm -lulog
+DPADD= ${LIBCURSES} ${LIBM} ${LIBDEVSTAT} ${LIBKVM}
+LDADD= -lcursesw -lm -ldevstat -lkvm
.include <bsd.prog.mk>
diff --git a/usr.bin/systat/vmstat.c b/usr.bin/systat/vmstat.c
index 742e2f7..1a02197 100644
--- a/usr.bin/systat/vmstat.c
+++ b/usr.bin/systat/vmstat.c
@@ -65,9 +65,8 @@ static const char sccsid[] = "@(#)vmstat.c 8.2 (Berkeley) 1/12/94";
#include <stdlib.h>
#include <string.h>
#include <time.h>
-#define _ULOG_POSIX_NAMES
-#include <ulog.h>
#include <unistd.h>
+#include <utmpx.h>
#include <devstat.h>
#include "systat.h"
#include "extern.h"
OpenPOWER on IntegriCloud