summaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/less.c2
-rw-r--r--miscutils/watchdog.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/less.c b/miscutils/less.c
index 3a9dea0..1a67ca7 100644
--- a/miscutils/less.c
+++ b/miscutils/less.c
@@ -1400,7 +1400,7 @@ int less_main(int argc, char **argv)
term_less.c_cc[VTIME] = 0;
/* We want to restore term_orig on exit */
- bb_signals(BB_SIGS_FATAL, sig_catcher);
+ bb_signals(BB_FATAL_SIGS, sig_catcher);
reinitialize();
while (1) {
diff --git a/miscutils/watchdog.c b/miscutils/watchdog.c
index 7fb16b8..a5061f5 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);