summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2020-12-01 18:10:28 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2020-12-01 18:10:28 +0000
commitb831f0e4acc64191e8d711b39f84202fc617ae8b (patch)
tree009ad58cec4ef9a94cfc0222324bc75d1f223a5d /usr.sbin
parentb93a1c994aea918478055f149be6440c65622c5a (diff)
Remove useless void cast annotation.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/rad/frontend.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/rad/frontend.c b/usr.sbin/rad/frontend.c
index 877b668b099..b69e9b7b0a3 100644
--- a/usr.sbin/rad/frontend.c
+++ b/usr.sbin/rad/frontend.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: frontend.c,v 1.33 2020/12/01 17:31:37 florian Exp $ */
+/* $OpenBSD: frontend.c,v 1.34 2020/12/01 18:10:27 florian Exp $ */
/*
* Copyright (c) 2018 Florian Obser <florian@openbsd.org>
@@ -1022,8 +1022,7 @@ get_interface_prefixes(struct ra_iface *ra_iface, struct ra_prefix_conf
continue;
memset(&ifr6, 0, sizeof(ifr6));
- (void) strlcpy(ifr6.ifr_name, ra_iface->name,
- sizeof(ifr6.ifr_name));
+ strlcpy(ifr6.ifr_name, ra_iface->name, sizeof(ifr6.ifr_name));
memcpy(&ifr6.ifr_addr, sin6, sizeof(ifr6.ifr_addr));
if (ioctl(ioctlsock, SIOCGIFNETMASK_IN6, (caddr_t)&ifr6) == -1)