diff options
Diffstat (limited to 'sys/kern/kern_conf.c')
-rw-r--r-- | sys/kern/kern_conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_conf.c b/sys/kern/kern_conf.c index 2470c98..7e4e677 100644 --- a/sys/kern/kern_conf.c +++ b/sys/kern/kern_conf.c @@ -766,14 +766,14 @@ make_dev_credf(int flags, struct cdevsw *devsw, int unit, struct ucred *cr, } int -make_dev_p(int flags, struct cdev **cdev, struct cdevsw *devsw, int unit, +make_dev_p(int flags, struct cdev **cdev, struct cdevsw *devsw, struct ucred *cr, uid_t uid, gid_t gid, int mode, const char *fmt, ...) { va_list ap; int res; va_start(ap, fmt); - res = make_dev_credv(flags, cdev, devsw, unit, cr, uid, gid, mode, + res = make_dev_credv(flags, cdev, devsw, 0, cr, uid, gid, mode, fmt, ap); va_end(ap); |