correct type to silence const complaint
This commit is contained in:
parent
30705853b0
commit
0b28f08125
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167079
@ -887,7 +887,8 @@ ifmaybeload(const char *name)
|
|||||||
{
|
{
|
||||||
struct module_stat mstat;
|
struct module_stat mstat;
|
||||||
int fileid, modid;
|
int fileid, modid;
|
||||||
char ifkind[35], *cp, *dp;
|
char ifkind[35], *dp;
|
||||||
|
const char *cp;
|
||||||
|
|
||||||
/* turn interface and unit into module name */
|
/* turn interface and unit into module name */
|
||||||
strcpy(ifkind, "if_");
|
strcpy(ifkind, "if_");
|
||||||
|
Loading…
Reference in New Issue
Block a user