← Commit list

5b28d314e

Denis Vlasenko
Denis Vlasenko
2009-03-09
FAILED Duration: 36s

Subject

ftpd: add LOG_NDELAY to openlog

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/ftpd.c+2 -1
@@ -828,7 +828,8 @@ int ftpd_main(int argc, char **argv)
* failure */
}
- openlog(applet_name, LOG_PID, LOG_DAEMON);
+ /* LOG_NDELAY is needed since we may chroot later */
+ openlog(applet_name, LOG_PID | LOG_NDELAY, LOG_DAEMON);
logmode |= LOGMODE_SYSLOG;
if (!(opts & OPT_v))
logmode = LOGMODE_SYSLOG;