summaryrefslogtreecommitdiff
path: root/src/conn-tools/s6-sudod.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2014-12-18 19:36:39 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2014-12-18 19:36:39 +0000
commit773623b1c1b573a054a0846f59a9f26a4b14c55d (patch)
tree59b33520403f9c3b492b1031965171b22ca5694f /src/conn-tools/s6-sudod.c
parent437978ce6025c8e368ef3726e3b06d0944574897 (diff)
downloads6-networking-773623b1c1b573a054a0846f59a9f26a4b14c55d.tar.xz
Fix sudoc/sudod communication
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 ;