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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=345558
@ -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 New Issue
Block a user