aboutsummaryrefslogtreecommitdiff
path: root/inet/if_index.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/if_index.c')
-rw-r--r--inet/if_index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inet/if_index.c b/inet/if_index.c
index b85a93f..0442633 100644
--- a/inet/if_index.c
+++ b/inet/if_index.c
@@ -31,7 +31,7 @@ libc_hidden_weak (if_nametoindex)
stub_warning (if_nametoindex)
char *
-__if_indextoname (unsigned int ifindex, char *ifname)
+__if_indextoname (unsigned int ifindex, char ifname[IF_NAMESIZE])
{
__set_errno (ENOSYS);
return NULL;