correct type to silence const complaint

This commit is contained in:
Sam Leffler 2007-02-27 17:03:22 +00:00
parent 30705853b0
commit 0b28f08125
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167079

View File

@ -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_");