aboutsummaryrefslogtreecommitdiff
path: root/spawn.c
diff options
context:
space:
mode:
authorCraig Barnes <craigbarnes@protonmail.com>2021-01-16 20:16:00 +0000
committerCraig Barnes <craigbarnes@protonmail.com>2021-01-16 20:16:00 +0000
commite56136ce1192d04a52b01ccb41284f0b7896430e (patch)
tree10948eb4aface28e80d6a075fecf11fad3075618 /spawn.c
parentPrint stack trace on assert() failure or when calling fatal_error() (diff)
debug: rename assert() to xassert(), to avoid clashing with <assert.h>
Diffstat (limited to 'spawn.c')
-rw-r--r--spawn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/spawn.c b/spawn.c
index e0d95985..fbcf0952 100644
--- a/spawn.c
+++ b/spawn.c
@@ -41,7 +41,7 @@ spawn(struct reaper *reaper, const char *cwd, char *const argv[],
(void)!write(pipe_fds[1], &errno, sizeof(errno));
_exit(errno);
}
- assert(false);
+ xassert(false);
_exit(errno);
}