summaryrefslogtreecommitdiff
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
authorSeigo Tanimura <tanimura@FreeBSD.org>2002-03-29 11:26:05 +0000
committerSeigo Tanimura <tanimura@FreeBSD.org>2002-03-29 11:26:05 +0000
commit5cf4bcebbf497a1fe23ad7ba894421aced018ea0 (patch)
treed3b6c61dddfab884a7eb3c507182faa4d874302b /sys/kern/init_main.c
parent0e93a9b5354adbce0afebaa58ff4dccfb38a1d02 (diff)
Notes
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r--sys/kern/init_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index d64a965dee95..afad11dc8027 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -359,7 +359,7 @@ proc0_init(void *dummy __unused)
/* Create the file descriptor table. */
fdp = &filedesc0;
p->p_fd = &fdp->fd_fd;
- mtx_init(&fdp->fd_fd.fd_mtx, "struct filedesc", MTX_DEF);
+ mtx_init(&fdp->fd_fd.fd_mtx, FILEDESC_LOCK_DESC, MTX_DEF);
fdp->fd_fd.fd_refcnt = 1;
fdp->fd_fd.fd_cmask = cmask;
fdp->fd_fd.fd_ofiles = fdp->fd_dfiles;