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:
emaste 2019-03-26 21:20:42 +00:00
parent 9ea423578d
commit ceab2111d4

View File

@ -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);