s6

Mirror/fork of https://skarnet.org/software/s6/
git clone https://ccx.te2000.cz/git/s6
Log | Files | Refs | README | LICENSE

commit 1d8f623f1ce9d2f93cc30813b421ea1fb561654c
parent 167662aa3dff7fb0714f62f76720de4383d1d1d7
Author: Laurent Bercot <ska-dietlibc@skarnet.org>
Date:   Sun,  6 Aug 2017 11:41:46 +0000

 Bugfix: typo in s6_fdholder_getdump.c

Diffstat:
Msrc/libs6/s6_fdholder_getdump.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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 ;