mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 06:52:45 +00:00
Port the remaining apps in sbin/ to utmpx; only reboot(8).
This commit is contained in:
parent
bb6c761206
commit
bf8959b05d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=202195
@ -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
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user