X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;ds=sidebyside;f=ubusd.c;h=c9cf8b6999e74879c99cde925a7ae6215ac1250a;hb=6c0fa3a8cf9690b2c787f3b8941202e3d2501592;hp=89031053a2386700d1c9bf6f4eb36e8aa1d6b60f;hpb=9ffec46f73f9b71bcc54f5603482741329cb2a07;p=project%2Fubus.git diff --git a/ubusd.c b/ubusd.c index 8903105..c9cf8b6 100644 --- a/ubusd.c +++ b/ubusd.c @@ -17,6 +17,7 @@ #ifdef FreeBSD #include #endif +#include #include #include #include @@ -363,6 +364,7 @@ int main(int argc, char **argv) signal(SIGPIPE, SIG_IGN); + openlog("ubusd", LOG_PID, LOG_DAEMON); uloop_init(); while ((ch = getopt(argc, argv, "s:")) != -1) {