diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-05-17 13:13:06 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-05-17 13:57:01 -0400 |
commit | c70e7375b1808b23fe4db2018d5e8c9bcb70464d (patch) | |
tree | b84fca909d89c7d5a7f461c7cafeae0058bdca79 /src/xspawn.c | |
parent | c3d6f07b8e4d22df533ce7a90660ae1da2df5476 (diff) | |
download | bfs-c70e7375b1808b23fe4db2018d5e8c9bcb70464d.tar.xz |
diag: New helpers to include xstrerror(errno) automatically
Diffstat (limited to 'src/xspawn.c')
-rw-r--r-- | src/xspawn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xspawn.c b/src/xspawn.c index 5a8277d..33e5a4a 100644 --- a/src/xspawn.c +++ b/src/xspawn.c @@ -611,7 +611,7 @@ static pid_t bfs_fork_spawn(struct bfs_resolver *res, const struct bfs_spawn *ct // Restore the original signal mask int ret = pthread_sigmask(SIG_SETMASK, &old_mask, NULL); - bfs_verify(ret == 0, "pthread_sigmask(): %s", xstrerror(ret)); + bfs_everify(ret == 0, "pthread_sigmask()"); if (pid < 0) { // fork() failed |