mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Pass a format string to make_dev().
This commit is contained in:
parent
577fedb6b1
commit
30aa84b727
1 changed files with 1 additions and 1 deletions
|
|
@ -1178,7 +1178,7 @@ static void hpt_final_init(void *dummy)
|
|||
}
|
||||
|
||||
make_dev(&hpt_cdevsw, DRIVER_MINOR, UID_ROOT, GID_OPERATOR,
|
||||
S_IRUSR | S_IWUSR, driver_name);
|
||||
S_IRUSR | S_IWUSR, "%s", driver_name);
|
||||
}
|
||||
|
||||
#if defined(KLD_MODULE) && (__FreeBSD_version >= 503000)
|
||||
|
|
|
|||
Loading…
Reference in a new issue