summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_devstat.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-03-16 23:20:05 +0000
committerphk <phk@FreeBSD.org>2003-03-16 23:20:05 +0000
commit1ff2d4dcb15dd93f96e9c6b358020a44028b362c (patch)
treeaada2f1a1b5a509270b807ca00d1c2b3cfba1056 /sys/kern/subr_devstat.c
parent4b49145ba5a3d718e8bfc99f49f8011d4eefb586 (diff)
downloadFreeBSD-src-1ff2d4dcb15dd93f96e9c6b358020a44028b362c.zip
FreeBSD-src-1ff2d4dcb15dd93f96e9c6b358020a44028b362c.tar.gz
Add a #define for the device name of the mmap device for devstat.
Constify the geom identification pointer.
Diffstat (limited to 'sys/kern/subr_devstat.c')
-rw-r--r--sys/kern/subr_devstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_devstat.c b/sys/kern/subr_devstat.c
index b965635..4581fe9 100644
--- a/sys/kern/subr_devstat.c
+++ b/sys/kern/subr_devstat.c
@@ -397,7 +397,7 @@ devstat_alloc(void)
if (!once) {
make_dev(&devstat_cdevsw, 0,
- UID_ROOT, GID_WHEEL, 0400, "devstat");
+ UID_ROOT, GID_WHEEL, 0400, DEVSTAT_DEVICE_NAME);
once++;
}
TAILQ_FOREACH(spp, &pagelist, list) {
OpenPOWER on IntegriCloud