X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/56c473b795bad9d29430bf794f9204bd096c9c3d..851dbdb775e409cf9f55e51bd8e07139d2f8930b:/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