summaryrefslogtreecommitdiffstats
path: root/service/instance.c
diff options
context:
space:
mode:
Diffstat (limited to 'service/instance.c')
-rw-r--r--service/instance.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/service/instance.c b/service/instance.c
index 7c902f9..3641369 100644
--- a/service/instance.c
+++ b/service/instance.c
@@ -1,7 +1,9 @@
/*
+ * Copyright (C) 2015 Matthias Schiffer <mschiffer@universe-factory.net>
+ *
+ * Based on "procd" by:
* Copyright (C) 2013 Felix Fietkau <nbd@openwrt.org>
* Copyright (C) 2013 John Crispin <blogic@openwrt.org>
- * Copyright (C) 2015 Matthias Schiffer <mschiffer@universe-factory.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 2.1
@@ -29,7 +31,7 @@
#include <libubox/md5.h>
-#include "../procd.h"
+#include "../unitd.h"
#include "service.h"
#include "instance.h"
@@ -308,7 +310,7 @@ instance_stdio(struct ustream *s, int prio, struct service_instance *in)
ustream_consume(s, len);
} while (1);
- ulog_open(ULOG_SYSLOG, LOG_DAEMON, "procd");
+ ulog_open(ULOG_SYSLOG, LOG_DAEMON, "unitd");
}
static void