diff options
Diffstat (limited to 'src/privsep-linux.c')
| -rw-r--r-- | src/privsep-linux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/privsep-linux.c b/src/privsep-linux.c index 4321f361..98403f5c 100644 --- a/src/privsep-linux.c +++ b/src/privsep-linux.c @@ -121,7 +121,7 @@ ps_root_sendnetlink(struct dhcpcd_ctx *ctx, int protocol, struct msghdr *msg) if (ps_sendmsg(ctx, ctx->ps_root_fd, PS_ROUTE, (unsigned long)protocol, msg) == -1) return -1; - return ps_root_readerror(ctx); + return ps_root_readerror(ctx, NULL, 0); } ssize_t @@ -146,5 +146,5 @@ ps_root_writepathuint(struct dhcpcd_ctx *ctx, const char *path, if (ps_sendcmd(ctx, ctx->ps_root_fd, PS_WRITEPATHUINT, 0, buf, len) == -1) return -1; - return ps_root_readerror(ctx); + return ps_root_readerror(ctx, NULL, 0); } |
