aboutsummaryrefslogtreecommitdiff
path: root/miscutils/watchdog.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-03-19 19:38:46 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-03-19 19:38:46 +0000
commitcf7cf622046b0e1a2817e1da4aa8bc6f513b0153 (patch)
tree30bc88b5a107bfe6d5f751ca722ed5a49a0b5fd8 /miscutils/watchdog.c
parent0764a7f72d7e5490b85dd0816bef8e56f6216d92 (diff)
downloadbusybox-cf7cf622046b0e1a2817e1da4aa8bc6f513b0153.tar.gz
*: s/BB_SIGS_FATAL/BB_FATAL_SIGS/ (latter proved easier to remember)
top: fix "top </dev/null" case (by Cristian Ionescu-Idbohrn)
Diffstat (limited to 'miscutils/watchdog.c')
-rw-r--r--miscutils/watchdog.c2
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)
bb_daemonize_or_rexec(DAEMON_CHDIR_ROOT, argv);
}
- bb_signals(BB_SIGS_FATAL, watchdog_shutdown);
+ bb_signals(BB_FATAL_SIGS, watchdog_shutdown);
/* Use known fd # - avoid needing global 'int fd' */
xmove_fd(xopen(argv[argc - 1], O_WRONLY), 3);