mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Pass a format string to make_dev().
Found by: clang
This commit is contained in:
parent
0c05779096
commit
62e9a33814
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue