X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/45ccc5c08c0765171721211e8e97c1ccf3db6978..91eee5946ad6d033303abfe184085c87a283da29:/log.c diff --git a/log.c b/log.c index ebf796b6..19339c76 100644 --- a/log.c +++ b/log.c @@ -55,7 +55,7 @@ void rprintf(int fd, const char *format, ...) if (!initialised) { initialised = 1; #ifdef LOG_DAEMON - openlog("rsyncd", LOG_PID, LOG_DAEMON); + openlog("rsyncd", LOG_PID, lp_syslog_facility()); #else openlog("rsyncd", LOG_PID); #endif