Author: rpaulo
Date: Wed Oct 13 14:57:13 2010
New Revision: 213782
URL: http://svn.freebsd.org/changeset/base/213782
Log:
Pass a format string to make_dev().
Found by: clang
Modified:
head/sys/contrib/ipfilter/netinet/mlfk_ipl.c
Modified: head/sys/contrib/ipfilter/netinet/mlfk_ipl.c
==============================================================================
--- head/sys/contrib/ipfilter/netinet/mlfk_ipl.c Wed Oct 13 14:44:38
2010 (r213781)
+++ head/sys/contrib/ipfilter/netinet/mlfk_ipl.c Wed Oct 13 14:57:13
2010 (r213782)
@@ -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();
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"