summaryrefslogtreecommitdiff
path: root/lib/if.c
diff options
context:
space:
mode:
authorhasso <hasso>2004-10-05 21:01:23 +0000
committerhasso <hasso>2004-10-05 21:01:23 +0000
commit8c328f1106cf0498333c2d8a96940e7b4581e316 (patch)
tree9bf24cca6a68a9dd5d4dda586484e497d0c19ca6 /lib/if.c
parent98c91ac6ac085713c00af00a6ac41779be6b50b3 (diff)
Number of warnings is down to 3 again in lib directory. A lot of const's
added to strings and a lot of int -> unsigned int changes.
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. */