mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
pf: use UID_ROOT and GID_WHEEL named constants in make_dev
No functional change but improves consistency and greppability of make_dev calls. Discussed with: kp
This commit is contained in:
parent
608289394f
commit
a342f5772f
1 changed files with 1 additions and 1 deletions
|
|
@ -4353,7 +4353,7 @@ pf_load(void)
|
|||
|
||||
pf_mtag_initialize();
|
||||
|
||||
pf_dev = make_dev(&pf_cdevsw, 0, 0, 0, 0600, PF_NAME);
|
||||
pf_dev = make_dev(&pf_cdevsw, 0, UID_ROOT, GID_WHEEL, 0600, PF_NAME);
|
||||
if (pf_dev == NULL)
|
||||
return (ENOMEM);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue