summaryrefslogtreecommitdiff
path: root/src/libs6/s6_fdholder_getdump.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-dietlibc@skarnet.org>2017-08-06 11:41:46 +0000
committerLaurent Bercot <ska-dietlibc@skarnet.org>2017-08-06 11:41:46 +0000
commit1d8f623f1ce9d2f93cc30813b421ea1fb561654c (patch)
tree0628a0a29482eda72338a3f715823114da2c2cc1 /src/libs6/s6_fdholder_getdump.c
parent167662aa3dff7fb0714f62f76720de4383d1d1d7 (diff)
downloads6-1d8f623f1ce9d2f93cc30813b421ea1fb561654c.tar.xz
Bugfix: typo in s6_fdholder_getdump.c
Diffstat (limited to 'src/libs6/s6_fdholder_getdump.c')
-rw-r--r--src/libs6/s6_fdholder_getdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs6/s6_fdholder_getdump.c b/src/libs6/s6_fdholder_getdump.c
index bb7fb3f..96e0f78 100644
--- a/src/libs6/s6_fdholder_getdump.c
+++ b/src/libs6/s6_fdholder_getdump.c
@@ -39,7 +39,7 @@ int s6_fdholder_getdump (s6_fdholder_t *a, genalloc *g, tain_t const *deadline,
{
s6_fdholder_fd_t *tab = genalloc_s(s6_fdholder_fd_t, g) + genalloc_len(s6_fdholder_fd_t, g) ;
unsigned int j = 0 ;
- for (; j < m.nfds ; i++)
+ for (; j < m.nfds ; j++)
{
unsigned char thislen ;
if (m.len < TAIN_PACK + 3) goto droperr ;