aboutsummaryrefslogtreecommitdiff
path: root/pfinet/iioctl-ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'pfinet/iioctl-ops.c')
-rw-r--r--pfinet/iioctl-ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pfinet/iioctl-ops.c b/pfinet/iioctl-ops.c
index bccc5e6b..191c6591 100644
--- a/pfinet/iioctl-ops.c
+++ b/pfinet/iioctl-ops.c
@@ -47,7 +47,7 @@ extern void inquire_device (struct device *dev, uint32_t *addr,
uint32_t *broadcast);
/* Truncate name, take the global lock and find device with this name. */
-struct device *get_dev (char *name)
+struct device *get_dev (const char *name)
{
char ifname[IFNAMSIZ];
struct device *dev;