diff options
author | John Crispin <blogic@openwrt.org> | 2013-09-28 21:01:20 +0200 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-09-28 21:47:43 +0200 |
commit | b5e17105b163442a030559b7b2c2454b82b3fd4c (patch) | |
tree | cd7eb3d97307f17703a62360f65938172e360576 /rcS.c | |
parent | f51f9cc5738d340423e44e678829402b367cf866 (diff) | |
download | unitd-b5e17105b163442a030559b7b2c2454b82b3fd4c.tar unitd-b5e17105b163442a030559b7b2c2454b82b3fd4c.zip |
syslog() is a blocking call on eglibc. as procd provides the actual syslog, weneed to make sure that we do not run into a deadlock.
Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Markus Stenberg <markus.stenberg@iki.fi>
Diffstat (limited to 'rcS.c')
-rw-r--r-- | rcS.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -55,7 +55,7 @@ static void pipe_cb(struct ustream *s, int bytes) break; *newline = 0; len = newline + 1 - str; - SYSLOG(6, buf->data); + log_printf(buf->data); ustream_consume(s, len); } while (1); } |