Pass a format string to make_dev().
Found by: clang
This commit is contained in:
parent
0c05779096
commit
62e9a33814
@ -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…
x
Reference in New Issue
Block a user