diff options
author | phk <phk@FreeBSD.org> | 2004-07-11 19:26:43 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-07-11 19:26:43 +0000 |
commit | 14f8256a24a464c5e6ceaf09c4c9d0186408ab21 (patch) | |
tree | 2ebe75449562fb0efdc2fb3f21d0b7807a38acd6 /sys/kern | |
parent | 4ac0cfc416d6a516611d38d285946a2372e1df3a (diff) | |
download | FreeBSD-src-14f8256a24a464c5e6ceaf09c4c9d0186408ab21.zip FreeBSD-src-14f8256a24a464c5e6ceaf09c4c9d0186408ab21.tar.gz |
Better descriptions of the cdev malloc class and mutex.
Diffstat (limited to 'sys/kern')
-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 a2531b2..e16adee 100644 --- a/sys/kern/kern_conf.c +++ b/sys/kern/kern_conf.c @@ -44,7 +44,7 @@ __FBSDID("$FreeBSD$"); #include <sys/tty.h> #include <machine/stdarg.h> -static MALLOC_DEFINE(M_DEVT, "struct cdev *", "struct cdev *storage"); +static MALLOC_DEFINE(M_DEVT, "cdev", "cdev storage"); /* Built at compile time from sys/conf/majors */ extern unsigned char reserved_majors[256]; @@ -77,7 +77,7 @@ static void devlock(void) { if (!mtx_initialized(&devmtx)) - mtx_init(&devmtx, "struct cdev *", NULL, MTX_DEF); + mtx_init(&devmtx, "cdev", NULL, MTX_DEF); mtx_lock(&devmtx); } |