diff options
author | ed <ed@FreeBSD.org> | 2010-01-13 17:59:23 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2010-01-13 17:59:23 +0000 |
commit | 4f94c734b60fd5f6bdcddbf88599cbbd9d87d928 (patch) | |
tree | be5c9d0c485207693fba2da1a42f918ce83298c3 /sbin/reboot | |
parent | 6998c5b40b0c1ba61deeb3a2b475536f7f47c7d7 (diff) | |
download | FreeBSD-src-4f94c734b60fd5f6bdcddbf88599cbbd9d87d928.zip FreeBSD-src-4f94c734b60fd5f6bdcddbf88599cbbd9d87d928.tar.gz |
Port the remaining apps in sbin/ to utmpx; only reboot(8).
Diffstat (limited to 'sbin/reboot')
-rw-r--r-- | sbin/reboot/Makefile | 2 | ||||
-rw-r--r-- | sbin/reboot/reboot.c | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/sbin/reboot/Makefile b/sbin/reboot/Makefile index 2a2f6f1..aa41e30 100644 --- a/sbin/reboot/Makefile +++ b/sbin/reboot/Makefile @@ -2,8 +2,6 @@ # $FreeBSD$ PROG= reboot -DPADD= ${LIBULOG} -LDADD= -lulog MAN= reboot.8 nextboot.8 MLINKS= reboot.8 halt.8 reboot.8 fastboot.8 reboot.8 fasthalt.8 diff --git a/sbin/reboot/reboot.c b/sbin/reboot/reboot.c index 1124ec6..9e5dab8 100644 --- a/sbin/reboot/reboot.c +++ b/sbin/reboot/reboot.c @@ -54,9 +54,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> static void usage(void); static u_int get_pageins(void); |