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
9ea423578d
commit
ceab2111d4
@ -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…
x
Reference in New Issue
Block a user