Pass a format string to make_dev().

Found by:	clang
This commit is contained in:
Rui Paulo 2010-10-13 14:57:13 +00:00
parent 0c05779096
commit 62e9a33814

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