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:
Stefano Ceccherini 2006-08-18 10:18:10 +00:00
parent a3b31b17d2
commit 152808170e

View File

@ -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;
}