summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/execline/trap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/execline/trap.c b/src/execline/trap.c
index c588d3c..dd6ae83 100644
--- a/src/execline/trap.c
+++ b/src/execline/trap.c
@@ -112,8 +112,8 @@ int main (int argc, char const **argv, char const *const *envp)
}
}
- pids[NSIG] = child_spawn0(argv[argc1 + 1], argv + argc1 + 1, envp) ;
- if (!pids[NSIG]) strerr_diefu2sys(111, "spawn ", argv[argc1 + 1]) ;
+ pids[SKALIBS_NSIG] = child_spawn0(argv[argc1 + 1], argv + argc1 + 1, envp) ;
+ if (!pids[SKALIBS_NSIG]) strerr_diefu2sys(111, "spawn ", argv[argc1 + 1]) ;
{
iopause_fd x = { .fd = spfd, .events = IOPAUSE_READ } ;