summaryrefslogtreecommitdiffstats
path: root/usr.bin/write
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/write
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/write')
-rw-r--r--usr.bin/write/Makefile3
-rw-r--r--usr.bin/write/write.c3
2 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/write/Makefile b/usr.bin/write/Makefile
index 31f102a..94345c4 100644
--- a/usr.bin/write/Makefile
+++ b/usr.bin/write/Makefile
@@ -5,7 +5,4 @@ PROG= write
BINMODE=2555
BINGRP= tty
-DPADD= ${LIBULOG}
-LDADD= -lulog
-
.include <bsd.prog.mk>
diff --git a/usr.bin/write/write.c b/usr.bin/write/write.c
index ed57cb1..17f6775 100644
--- a/usr.bin/write/write.c
+++ b/usr.bin/write/write.c
@@ -62,9 +62,8 @@ __FBSDID("$FreeBSD$");
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#define _ULOG_POSIX_NAMES
-#include <ulog.h>
#include <unistd.h>
+#include <utmpx.h>
void done(int);
void do_write(char *, char *, uid_t);
OpenPOWER on IntegriCloud