summaryrefslogtreecommitdiffstats
path: root/src/privsep-inet.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2019-11-28 23:23:21 +0000
committerRoy Marples <roy@marples.name>2019-11-28 23:23:21 +0000
commit6e39a293fc5a913068d72d2ce138c0d24e64cb83 (patch)
tree1fa98146ffdfc37b0cc3484ad73b6690c33507fe /src/privsep-inet.c
parent471df5f6419f744013472455a3b8f977b07bd725 (diff)
downloaddhcpcd-6e39a293fc5a913068d72d2ce138c0d24e64cb83.tar.xz
privsep: Sprinkle some const
Diffstat (limited to 'src/privsep-inet.c')
-rw-r--r--src/privsep-inet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/privsep-inet.c b/src/privsep-inet.c
index e13d0cd1..977a23b7 100644
--- a/src/privsep-inet.c
+++ b/src/privsep-inet.c
@@ -274,7 +274,7 @@ ps_inet_stop(struct dhcpcd_ctx *ctx)
}
ssize_t
-ps_inet_sendmsg(struct dhcpcd_ctx *ctx, uint8_t cmd, struct msghdr *msg)
+ps_inet_sendmsg(struct dhcpcd_ctx *ctx, uint8_t cmd, const struct msghdr *msg)
{
return ps_sendmsg(ctx, ctx->ps_inet_fd, cmd, 0, msg);