Pass a format string to make_dev().

Found by:	clang
This commit is contained in:
rpaulo 2010-10-13 14:57:13 +00:00
parent a6e35905f2
commit ed92bd409f

View File

@ -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();