summaryrefslogtreecommitdiffstats
path: root/initd
diff options
context:
space:
mode:
Diffstat (limited to 'initd')
-rw-r--r--initd/early.c1
-rw-r--r--initd/init.c2
-rw-r--r--initd/mkdev.c2
3 files changed, 2 insertions, 3 deletions
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 <unistd.h>
#include <stdlib.h>
-#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];