aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/init.c b/init/init.c
index 543ec2ea8..5e8401163 100644
--- a/init/init.c
+++ b/init/init.c
@@ -179,7 +179,7 @@ static void message(int device, const char *fmt, ...)
179 bb_error_msg("can't log to %s", log_console); 179 bb_error_msg("can't log to %s", log_console);
180 device = L_CONSOLE; 180 device = L_CONSOLE;
181 } else { 181 } else {
182 fcntl(log_fd, F_SETFD, FD_CLOEXEC); 182 close_on_exec_on(log_fd);
183 } 183 }
184 } 184 }
185 } 185 }