diff options
author | sam <sam@FreeBSD.org> | 2007-02-27 17:03:22 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2007-02-27 17:03:22 +0000 |
commit | 843968091888fd46d557169a41fc4403d81b8edc (patch) | |
tree | aa25c39c3187bec1a1f04d0070718b6c8ce9d2c9 | |
parent | adee842450911645d2c4da8fc08e135cdaea922d (diff) | |
download | FreeBSD-src-843968091888fd46d557169a41fc4403d81b8edc.zip FreeBSD-src-843968091888fd46d557169a41fc4403d81b8edc.tar.gz |
correct type to silence const complaint
-rw-r--r-- | sbin/ifconfig/ifconfig.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index 6cd8d69..daa31f3 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -887,7 +887,8 @@ ifmaybeload(const char *name) { struct module_stat mstat; int fileid, modid; - char ifkind[35], *cp, *dp; + char ifkind[35], *dp; + const char *cp; /* turn interface and unit into module name */ strcpy(ifkind, "if_"); |