summaryrefslogtreecommitdiff
path: root/lib/if.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/if.c')
-rw-r--r--lib/if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/if.c b/lib/if.c
index 43e84a43..8fbaa76a 100644
--- a/lib/if.c
+++ b/lib/if.c
@@ -203,7 +203,7 @@ ifindex2ifname (unsigned int index)
if (ifp->ifindex == index)
return ifp->name;
}
- return "unknown";
+ return (char *) "unknown";
}
/* Interface existance check by interface name. */