summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_stats.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-02-08 14:50:27 +0000
committerphk <phk@FreeBSD.org>2003-02-08 14:50:27 +0000
commit384af30f6369e69cff201afee3edc6d2ac874bb2 (patch)
tree3034831ddcfdb2c0932c26d9609a5bb7407a6f4e /sys/geom/geom_stats.c
parent5f06b2478635a7c7de2b984909fae774c80e7b01 (diff)
downloadFreeBSD-src-384af30f6369e69cff201afee3edc6d2ac874bb2.zip
FreeBSD-src-384af30f6369e69cff201afee3edc6d2ac874bb2.tar.gz
Put the name of the /dev entry in the .h file, userland will need it.
Diffstat (limited to 'sys/geom/geom_stats.c')
-rw-r--r--sys/geom/geom_stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/geom_stats.c b/sys/geom/geom_stats.c
index f93be80..8b6581b 100644
--- a/sys/geom/geom_stats.c
+++ b/sys/geom/geom_stats.c
@@ -141,5 +141,5 @@ void
g_stat_init(void)
{
make_dev(&geom_stats_cdevsw, GEOM_MINOR_STATS,
- UID_ROOT, GID_WHEEL, 0400, "geom.stats");
+ UID_ROOT, GID_WHEEL, 0400, GEOM_STATS_DEVICE);
}
OpenPOWER on IntegriCloud