summaryrefslogtreecommitdiff
path: root/networking/ifenslave.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/ifenslave.c')
-rw-r--r--networking/ifenslave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ifenslave.c b/networking/ifenslave.c
index fed1869..4c7eadc 100644
--- a/networking/ifenslave.c
+++ b/networking/ifenslave.c
@@ -147,7 +147,7 @@ static int ioctl_on_skfd(unsigned request, struct ifreq *ifr)
static int set_ifrname_and_do_ioctl(unsigned request, struct ifreq *ifr, const char *ifname)
{
- strncpy_IFNAMSIZ(ifr->ifr_name, ifname);
+ strncpy_IFNAMSIZ(ifr->ifr_name, ifname);
return ioctl_on_skfd(request, ifr);
}