mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
sigprocmask sets errno on error
This commit is contained in:
@@ -363,7 +363,7 @@ isc__app_ctxstart(isc_appctx_t *ctx0) {
|
||||
}
|
||||
presult = sigprocmask(SIG_UNBLOCK, &sset, NULL);
|
||||
if (presult != 0) {
|
||||
isc__strerror(presult, strbuf, sizeof(strbuf));
|
||||
isc__strerror(errno, strbuf, sizeof(strbuf));
|
||||
UNEXPECTED_ERROR(__FILE__, __LINE__,
|
||||
"isc_app_start() sigprocmask: %s", strbuf);
|
||||
result = ISC_R_UNEXPECTED;
|
||||
|
Reference in New Issue
Block a user