diff options
Diffstat (limited to 'miscutils/watchdog.c')
-rw-r--r-- | miscutils/watchdog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/watchdog.c b/miscutils/watchdog.c index 7fb16b861..a5061f5d7 100644 --- a/miscutils/watchdog.c +++ b/miscutils/watchdog.c | |||
@@ -46,7 +46,7 @@ int watchdog_main(int argc, char **argv) | |||
46 | bb_daemonize_or_rexec(DAEMON_CHDIR_ROOT, argv); | 46 | bb_daemonize_or_rexec(DAEMON_CHDIR_ROOT, argv); |
47 | } | 47 | } |
48 | 48 | ||
49 | bb_signals(BB_SIGS_FATAL, watchdog_shutdown); | 49 | bb_signals(BB_FATAL_SIGS, watchdog_shutdown); |
50 | 50 | ||
51 | /* Use known fd # - avoid needing global 'int fd' */ | 51 | /* Use known fd # - avoid needing global 'int fd' */ |
52 | xmove_fd(xopen(argv[argc - 1], O_WRONLY), 3); | 52 | xmove_fd(xopen(argv[argc - 1], O_WRONLY), 3); |