diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-01-20 16:47:05 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-01-20 16:47:05 +0000 |
| commit | c5031be4899ea516635ef7c65a6f82b3b45860b9 (patch) | |
| tree | 10948eb4aface28e80d6a075fecf11fad3075618 /spawn.c | |
| parent | Merge branch 'decset-1047-and-1048' (diff) | |
| parent | debug: rename assert() to xassert(), to avoid clashing with <assert.h> (diff) | |
Merge branch 'stacktrace'
Diffstat (limited to 'spawn.c')
| -rw-r--r-- | spawn.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,7 +2,6 @@ #include <unistd.h> #include <errno.h> -#include <assert.h> #include <sys/types.h> #include <sys/stat.h> @@ -11,6 +10,7 @@ #define LOG_MODULE "spawn" #define LOG_ENABLE_DBG 0 #include "log.h" +#include "debug.h" bool spawn(struct reaper *reaper, const char *cwd, char *const argv[], @@ -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); } |
