diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-02-25 23:52:03 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-02-25 23:58:29 +0100 |
commit | 4bccbfa967d756b8c84a62ea4752e936d8545a73 (patch) | |
tree | dcb96ec1bae2005b3840493af73f12002f74d97f /procd.c | |
parent | 7676df3226da5391c2dfda2ed29a40500e04e15b (diff) | |
download | unitd-4bccbfa967d756b8c84a62ea4752e936d8545a73.tar unitd-4bccbfa967d756b8c84a62ea4752e936d8545a73.zip |
Convert log calls to ulog() api
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'procd.c')
-rw-r--r-- | procd.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -43,6 +43,8 @@ int main(int argc, char **argv) int ch; char *dbglvl = getenv("DBGLVL"); + ulog_open(ULOG_KMSG, LOG_DAEMON, "procd"); + if (dbglvl) { debug = atoi(dbglvl); unsetenv("DBGLVL"); |