diff options
Diffstat (limited to 'src/libstddjb/allreadwritev.c')
-rw-r--r-- | src/libstddjb/allreadwritev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/allreadwritev.c b/src/libstddjb/allreadwritev.c index a156698..28695a1 100644 --- a/src/libstddjb/allreadwritev.c +++ b/src/libstddjb/allreadwritev.c @@ -10,7 +10,7 @@ unsigned int allreadwritev (iovfunc_t_ref op, int fd, siovec_t const *v, unsigne siovec_t vv[vlen] ; for (; written < vlen ; written++) vv[written] = v[written] ; written = 0 ; - while (siovec_len(v, vlen)) + while (siovec_len(vv, vlen)) { register int w = (*op)(fd, vv, vlen) ; if (w <= 0) break ; |