Pass a format string to make_dev().
Found by: clang
This commit is contained in:
parent
a6e35905f2
commit
ed92bd409f
@ -204,7 +204,7 @@ ipf_modload()
|
||||
}
|
||||
if (!c)
|
||||
c = str;
|
||||
ipf_devs[i] = make_dev(&ipl_cdevsw, i, 0, 0, 0600, c);
|
||||
ipf_devs[i] = make_dev(&ipl_cdevsw, i, 0, 0, 0600, "%s", c);
|
||||
}
|
||||
|
||||
error = ipf_pfil_hook();
|
||||
|
Loading…
Reference in New Issue
Block a user