syslog() is a blocking call on eglibc. as procd provides the actual syslog, weneed...
[project/procd.git] / rcS.c
diff --git a/rcS.c b/rcS.c
index 774c77e..f041f09 100644 (file)
--- a/rcS.c
+++ b/rcS.c
@@ -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);
 }