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 20d9715..0e99a03 100644 --- a/libbb/error_msg_and_die.c +++ b/libbb/error_msg_and_die.c @@ -27,9 +27,9 @@ void xfunc_die(void) * p = xmalloc(10); * q = xmalloc(10); // BUG! if this dies, we leak p! */ - /* -111 means "zero" (longjmp can't pass 0) - * spawn_and_wait() catches -111. */ - longjmp(die_jmp, xfunc_error_retval ? xfunc_error_retval : -111); + /* -2222 means "zero" (longjmp can't pass 0) + * run_nofork_applet() catches -2222. */ + longjmp(die_jmp, xfunc_error_retval ? xfunc_error_retval : -2222); } sleep(die_sleep); } |