summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_conf.c')
-rw-r--r--sys/kern/kern_conf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_conf.c b/sys/kern/kern_conf.c
index f5c4c1a..35cffc2 100644
--- a/sys/kern/kern_conf.c
+++ b/sys/kern/kern_conf.c
@@ -270,7 +270,7 @@ makeudev(int x, int y)
}
dev_t
-make_dev(struct cdevsw *devsw, int minor, uid_t uid, gid_t gid, int perms, char *fmt, ...)
+make_dev(struct cdevsw *devsw, int minor, uid_t uid, gid_t gid, int perms, const char *fmt, ...)
{
dev_t dev;
va_list ap;
@@ -310,7 +310,7 @@ dev_depends(dev_t pdev, dev_t cdev)
}
dev_t
-make_dev_alias(dev_t pdev, char *fmt, ...)
+make_dev_alias(dev_t pdev, const char *fmt, ...)
{
dev_t dev;
va_list ap;
OpenPOWER on IntegriCloud