Author: np Date: Sat Jun 12 22:24:39 2010 New Revision: 209115 URL: http://svn.freebsd.org/changeset/base/209115
Log: make format string a string literal. Reported by: clang Modified: head/sys/dev/cxgb/cxgb_main.c Modified: head/sys/dev/cxgb/cxgb_main.c ============================================================================== --- head/sys/dev/cxgb/cxgb_main.c Sat Jun 12 21:14:22 2010 (r209114) +++ head/sys/dev/cxgb/cxgb_main.c Sat Jun 12 22:24:39 2010 (r209115) @@ -980,7 +980,7 @@ cxgb_makedev(struct port_info *pi) { pi->port_cdev = make_dev(&cxgb_cdevsw, pi->ifp->if_dunit, - UID_ROOT, GID_WHEEL, 0600, if_name(pi->ifp)); + UID_ROOT, GID_WHEEL, 0600, "%s", if_name(pi->ifp)); if (pi->port_cdev == NULL) return (ENOMEM); _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"