summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fdholder/s6-fdholderd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fdholder/s6-fdholderd.c b/src/fdholder/s6-fdholderd.c
index 56dfb63..b0a9d0c 100644
--- a/src/fdholder/s6-fdholderd.c
+++ b/src/fdholder/s6-fdholderd.c
@@ -318,7 +318,7 @@ static int fill_siovec_with_ids_iter (char *thing, void *data)
static int do_list (uint32_t cc, unixmessage_t const *m)
{
client_t *c = CLIENT(cc) ;
- struct iovec v[numfds] ;
+ struct iovec v[1+numfds] ;
unixmessage_v_t ans = { .v = v, .vlen = 1+numfds, .fds = 0, .nfds = 0 } ;
struct iovec *vp = v + 1 ;
char pack[5] = "" ;