summaryrefslogtreecommitdiff
path: root/src/conn-tools/s6-sudod.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/conn-tools/s6-sudod.c')
-rw-r--r--src/conn-tools/s6-sudod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conn-tools/s6-sudod.c b/src/conn-tools/s6-sudod.c
index 9ea6167..8c52bb9 100644
--- a/src/conn-tools/s6-sudod.c
+++ b/src/conn-tools/s6-sudod.c
@@ -119,7 +119,7 @@ int main (int argc, char const *const *argv, char const *const *envp)
}
targv[argc + cargc] = 0 ;
- for (i = 0 ; i < cenvlen ; i++)
+ for (i = 0 ; i < cenvc ; i++)
{
char const *var = tenvp[envc + 1 + i] ;
register unsigned int j = 0 ;