summaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorDenis Vlasenko2008-03-19 19:38:46 +0000
committerDenis Vlasenko2008-03-19 19:38:46 +0000
commitcf7cf622046b0e1a2817e1da4aa8bc6f513b0153 (patch)
tree30bc88b5a107bfe6d5f751ca722ed5a49a0b5fd8 /miscutils
parent0764a7f72d7e5490b85dd0816bef8e56f6216d92 (diff)
downloadbusybox-cf7cf622046b0e1a2817e1da4aa8bc6f513b0153.zip
busybox-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')
-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);