2
0
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:
Mark Andrews
2014-03-27 12:33:40 +11:00
parent a87790b9d8
commit 1fa64087e7

View File

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