summaryrefslogtreecommitdiff
path: root/miscutils/crond.c
diff options
context:
space:
mode:
authorDenys Vlasenko2010-10-20 13:21:22 +0200
committerDenys Vlasenko2010-10-20 13:21:22 +0200
commitbec588878b6d435c33d9b0aae6247715c259e3a4 (patch)
tree12b5da396307b0ae8782daa247cd4234805f8018 /miscutils/crond.c
parentd3c5ab703bf6f42ec11fb770b86aaf927cf6b32d (diff)
downloadbusybox-bec588878b6d435c33d9b0aae6247715c259e3a4.zip
busybox-bec588878b6d435c33d9b0aae6247715c259e3a4.tar.gz
*: s/open3_or_warn/open_or_warn/ where makes sense
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'miscutils/crond.c')
-rw-r--r--miscutils/crond.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/crond.c b/miscutils/crond.c
index fddddcd..7f2d54c 100644
--- a/miscutils/crond.c
+++ b/miscutils/crond.c
@@ -123,7 +123,7 @@ static void crondlog(const char *ctl, ...)
/* Syslog mode: all to syslog (logmode = LOGMODE_SYSLOG), */
if (!DebugOpt && G.log_filename) {
/* Otherwise (log to file): we reopen log file at every write: */
- int logfd = open3_or_warn(G.log_filename, O_WRONLY | O_CREAT | O_APPEND, 0666);
+ int logfd = open_or_warn(G.log_filename, O_WRONLY | O_CREAT | O_APPEND);
if (logfd >= 0)
xmove_fd(logfd, STDERR_FILENO);
}