From: Nick Porter Date: Fri, 20 Feb 2026 08:32:50 +0000 (+0000) Subject: Pass pipe fd array to pipe() not a pointer to the array X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=09a4978cb364ae4f57dfd3c0ecb2060cd00bf532;p=thirdparty%2Ffreeradius-server.git Pass pipe fd array to pipe() not a pointer to the array --- diff --git a/src/lib/io/control.c b/src/lib/io/control.c index 71cf13a2e50..6ac6927b394 100644 --- a/src/lib/io/control.c +++ b/src/lib/io/control.c @@ -158,7 +158,7 @@ fr_control_t *fr_control_create(TALLOC_CTX *ctx, fr_event_list_t *el, fr_atomic_ c->el = el; c->aq = aq; - if (pipe((int *) &c->pipe) < 0) { + if (pipe(c->pipe) < 0) { talloc_free(c); fr_strerror_printf("Failed opening pipe for control socket: %s", fr_syserror(errno)); return NULL;