diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2014-11-10 18:22:10 +0100 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2014-11-12 18:03:50 +0100 |
commit | bcc502cff9fea2d892a0344879e420df1d10fb47 (patch) | |
tree | 05b239cbc41d72372343f4dbe78ee0674b3ee146 /libcrecovery/system.c | |
parent | update theme thanks to Alexey71 on xda. (diff) | |
download | android_bootable_recovery-bcc502cff9fea2d892a0344879e420df1d10fb47.tar android_bootable_recovery-bcc502cff9fea2d892a0344879e420df1d10fb47.tar.gz android_bootable_recovery-bcc502cff9fea2d892a0344879e420df1d10fb47.tar.bz2 android_bootable_recovery-bcc502cff9fea2d892a0344879e420df1d10fb47.tar.lz android_bootable_recovery-bcc502cff9fea2d892a0344879e420df1d10fb47.tar.xz android_bootable_recovery-bcc502cff9fea2d892a0344879e420df1d10fb47.tar.zst android_bootable_recovery-bcc502cff9fea2d892a0344879e420df1d10fb47.zip |
Diffstat (limited to '')
-rw-r--r-- | libcrecovery/system.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libcrecovery/system.c b/libcrecovery/system.c index 6d78ae946..c5dd550fe 100644 --- a/libcrecovery/system.c +++ b/libcrecovery/system.c @@ -66,11 +66,11 @@ __system(const char *command) _exit(127); } - intsave = (sig_t) bsd_signal(SIGINT, SIG_IGN); - quitsave = (sig_t) bsd_signal(SIGQUIT, SIG_IGN); + intsave = (sig_t) signal(SIGINT, SIG_IGN); + quitsave = (sig_t) signal(SIGQUIT, SIG_IGN); pid = waitpid(pid, (int *)&pstat, 0); sigprocmask(SIG_SETMASK, &omask, NULL); - (void)bsd_signal(SIGINT, intsave); - (void)bsd_signal(SIGQUIT, quitsave); + (void)signal(SIGINT, intsave); + (void)signal(SIGQUIT, quitsave); return (pid == -1 ? -1 : pstat); } |