mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 05:58:57 +00:00
make format string a string literal.
Reported by: clang
This commit is contained in:
parent
ed6e65a2fe
commit
06eace6376
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=209115
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user