summaryrefslogtreecommitdiff
path: root/dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'dev.c')
-rw-r--r--dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev.c b/dev.c
index 3fafbde..5bbac71 100644
--- a/dev.c
+++ b/dev.c
@@ -167,7 +167,7 @@ void device_set_flags(const char *ifname, const short flags)
close(sock);
}
-int device_up_and_running(char *ifname)
+int device_up_and_running(const char *ifname)
{
if (!ifname)
return -EINVAL;