diff options
author | Marek Polacek | 2010-10-29 00:55:07 +0200 |
---|---|---|
committer | Karel Zak | 2010-10-29 13:26:25 +0200 |
commit | 50644ff4de8126eb132fa94ae4645fb19871f5b6 (patch) | |
tree | 1984291cf0520d6123ac440611fc74d7ee10644d /text-utils/rev.c | |
parent | agetty: fix -s option (baud rate setup) (diff) | |
download | kernel-qcow2-util-linux-50644ff4de8126eb132fa94ae4645fb19871f5b6.tar.gz kernel-qcow2-util-linux-50644ff4de8126eb132fa94ae4645fb19871f5b6.tar.xz kernel-qcow2-util-linux-50644ff4de8126eb132fa94ae4645fb19871f5b6.zip |
use _exit() instead of exit() in sighandlers
Signed-off-by: Marek Polacek <mmpolacek@gmail.com>
Diffstat (limited to 'text-utils/rev.c')
-rw-r--r-- | text-utils/rev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/text-utils/rev.c b/text-utils/rev.c index 907b032b1..7a42d7e49 100644 --- a/text-utils/rev.c +++ b/text-utils/rev.c @@ -66,7 +66,7 @@ wchar_t *buf; static void sig_handler(int signo) { free(buf); - exit(EXIT_SUCCESS); + _exit(EXIT_SUCCESS); } static void __attribute__((__noreturn__)) usage(FILE *out) |