diff options
Diffstat (limited to 'pfinet/iioctl-ops.c')
-rw-r--r-- | pfinet/iioctl-ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pfinet/iioctl-ops.c b/pfinet/iioctl-ops.c index f1c503d4..be659582 100644 --- a/pfinet/iioctl-ops.c +++ b/pfinet/iioctl-ops.c @@ -49,7 +49,7 @@ extern void inquire_device (struct device *dev, uint32_t *addr, /* Truncate name, take the global lock and find device with this name. */ struct device *get_dev (char *name) { - char ifname[16]; + char ifname[IFNAMSIZ]; struct device *dev; memcpy (ifname, name, IFNAMSIZ-1); |