mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-03 16:15:27 +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);
|
presult = sigprocmask(SIG_UNBLOCK, &sset, NULL);
|
||||||
if (presult != 0) {
|
if (presult != 0) {
|
||||||
isc__strerror(presult, strbuf, sizeof(strbuf));
|
isc__strerror(errno, strbuf, sizeof(strbuf));
|
||||||
UNEXPECTED_ERROR(__FILE__, __LINE__,
|
UNEXPECTED_ERROR(__FILE__, __LINE__,
|
||||||
"isc_app_start() sigprocmask: %s", strbuf);
|
"isc_app_start() sigprocmask: %s", strbuf);
|
||||||
result = ISC_R_UNEXPECTED;
|
result = ISC_R_UNEXPECTED;
|
||||||
|
Reference in New Issue
Block a user