From: Roy Marples Date: Fri, 26 Aug 2022 10:36:55 +0000 (+0100) Subject: capsicum: Fix an issue with the cherry pick of NET_RT_DUMP sysctl X-Git-Tag: v9.5.0~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9ddf71e26f0369a3e8b9c143abcfc730989bbe2e;p=thirdparty%2Fdhcpcd.git capsicum: Fix an issue with the cherry pick of NET_RT_DUMP sysctl --- diff --git a/src/privsep-bsd.c b/src/privsep-bsd.c index 39cb223c..1d5733f3 100644 --- a/src/privsep-bsd.c +++ b/src/privsep-bsd.c @@ -394,7 +394,7 @@ ps_root_sysctl(struct dhcpcd_ctx *ctx, p += newlen; } - if (ps_sendcmd(ctx, ctx->ps_root->psp_fd, PS_SYSCTL, + if (ps_sendcmd(ctx, ctx->ps_root_fd, PS_SYSCTL, flags, buf, (size_t)(p - buf)) == -1) return -1;