From a545e8e74821a3c3281c886283e43a830afe62f0 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 9 Sep 2023 11:57:19 +0000 Subject: Adapt to skalibs-2.14 Signed-off-by: Laurent Bercot --- src/rpc/skabus-rpcc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rpc/skabus-rpcc.c b/src/rpc/skabus-rpcc.c index 5b35925..621b59c 100644 --- a/src/rpc/skabus-rpcc.c +++ b/src/rpc/skabus-rpcc.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include @@ -143,7 +144,7 @@ static int interface_add (char const *ifname, char const *ifprog, char const *re { uint32_t yy ; interface_t *y ; - int fd[2] ; + int fd[2] = { 0, 1 } ; tain deadline ; skabus_rpc_interface_t ifbody = { .f = &rclient_function, .cancelf = &rclient_cancel_function, .aux = y } char const *argv[4] = { EXECLINE_EXTBINPREFIX "execlineb", "-Pc", ifprog, 0 } ; -- cgit v1.2.3