summaryrefslogtreecommitdiffstats
path: root/usr.bin/wall
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/wall
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/wall')
-rw-r--r--usr.bin/wall/Makefile3
-rw-r--r--usr.bin/wall/wall.c3
2 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/wall/Makefile b/usr.bin/wall/Makefile
index 5f0230f..c5deb3b 100644
--- a/usr.bin/wall/Makefile
+++ b/usr.bin/wall/Makefile
@@ -6,7 +6,4 @@ SRCS= ttymsg.c wall.c
BINGRP= tty
BINMODE=2555
-DPADD= ${LIBULOG}
-LDADD= -lulog
-
.include <bsd.prog.mk>
diff --git a/usr.bin/wall/wall.c b/usr.bin/wall/wall.c
index 9bf8076..b92edd4 100644
--- a/usr.bin/wall/wall.c
+++ b/usr.bin/wall/wall.c
@@ -64,9 +64,8 @@ static const char sccsid[] = "@(#)wall.c 8.2 (Berkeley) 11/16/93";
#include <stdlib.h>
#include <string.h>
#include <time.h>
-#define _ULOG_POSIX_NAMES
-#include <ulog.h>
#include <unistd.h>
+#include <utmpx.h>
#include "ttymsg.h"
OpenPOWER on IntegriCloud