diff options
Diffstat (limited to 'libbb/error_msg_and_die.c')
-rw-r--r-- | libbb/error_msg_and_die.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libbb/error_msg_and_die.c b/libbb/error_msg_and_die.c index 20d971591..0e99a03cf 100644 --- a/libbb/error_msg_and_die.c +++ b/libbb/error_msg_and_die.c | |||
@@ -27,9 +27,9 @@ void xfunc_die(void) | |||
27 | * p = xmalloc(10); | 27 | * p = xmalloc(10); |
28 | * q = xmalloc(10); // BUG! if this dies, we leak p! | 28 | * q = xmalloc(10); // BUG! if this dies, we leak p! |
29 | */ | 29 | */ |
30 | /* -111 means "zero" (longjmp can't pass 0) | 30 | /* -2222 means "zero" (longjmp can't pass 0) |
31 | * spawn_and_wait() catches -111. */ | 31 | * run_nofork_applet() catches -2222. */ |
32 | longjmp(die_jmp, xfunc_error_retval ? xfunc_error_retval : -111); | 32 | longjmp(die_jmp, xfunc_error_retval ? xfunc_error_retval : -2222); |
33 | } | 33 | } |
34 | sleep(die_sleep); | 34 | sleep(die_sleep); |
35 | } | 35 | } |