diff options
Diffstat (limited to 'librt/spawn.c')
-rw-r--r-- | librt/spawn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/librt/spawn.c b/librt/spawn.c index a2b8e061b..4171f9bb5 100644 --- a/librt/spawn.c +++ b/librt/spawn.c @@ -158,7 +158,7 @@ __spawni(pid_t *pid, const char *file, sigset_t hset; sigprocmask (SIG_BLOCK, 0, &hset); - for (int sig = 1; sig < _NSIG; ++sig) { + for (sig = 1; sig < _NSIG; ++sig) { if ((flags & POSIX_SPAWN_SETSIGDEF) && sigismember (&attrp->__sd, sig)) { |