Reverted the previous change
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18536 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a3b31b17d2
commit
152808170e
@ -27,7 +27,7 @@ signal(int sig, sig_func_t signalHandler)
|
||||
// the current thread (the original is copied into the last param)
|
||||
err = sigaction(sig, &newAction, &oldAction);
|
||||
if (err < B_OK) {
|
||||
errno = 1;
|
||||
errno = err;
|
||||
return SIG_ERR;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user