Commit 8fa9af7f authored by Kirill Smelkov's avatar Kirill Smelkov

lib/utils: pthread_sigmask() returns error directly, not in errno

The mistake was there from the beginning - from 3e5e78cd (lib/utils:
Small C utilities we'll use).
parent ec6ecd4e
......@@ -129,5 +129,5 @@ void xpthread_sigmask(int how, const sigset_t *set, sigset_t *oldset)
int err;
err = pthread_sigmask(how, set, oldset);
if (err)
BUGe();
BUGerr(err);
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment