From 4bccbfa967d756b8c84a62ea4752e936d8545a73 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 25 Feb 2015 23:52:03 +0100 Subject: Convert log calls to ulog() api Signed-off-by: Jo-Philipp Wich --- initd/early.c | 1 - initd/init.c | 2 ++ initd/mkdev.c | 2 -- 3 files changed, 2 insertions(+), 3 deletions(-) (limited to 'initd') diff --git a/initd/early.c b/initd/early.c index beb7b69..5ee49ee 100644 --- a/initd/early.c +++ b/initd/early.c @@ -21,7 +21,6 @@ #include #include -#include "../log.h" #include "init.h" static void diff --git a/initd/init.c b/initd/init.c index 0d201bc..9818c4f 100644 --- a/initd/init.c +++ b/initd/init.c @@ -72,6 +72,8 @@ main(int argc, char **argv) { pid_t pid; + ulog_open(ULOG_KMSG, LOG_DAEMON, "init"); + sigaction(SIGTERM, &sa_shutdown, NULL); sigaction(SIGUSR1, &sa_shutdown, NULL); sigaction(SIGUSR2, &sa_shutdown, NULL); diff --git a/initd/mkdev.c b/initd/mkdev.c index 3471461..a9a2320 100644 --- a/initd/mkdev.c +++ b/initd/mkdev.c @@ -28,8 +28,6 @@ #include "init.h" -#include "../log.h" - static char **patterns; static int n_patterns; static char buf[PATH_MAX]; -- cgit v1.2.3