diff options
author | tanimura <tanimura@FreeBSD.org> | 2002-03-29 11:26:05 +0000 |
---|---|---|
committer | tanimura <tanimura@FreeBSD.org> | 2002-03-29 11:26:05 +0000 |
commit | 9ae6d1242c5a218cbb27f1a3ed8a9014412bbf80 (patch) | |
tree | d3b6c61dddfab884a7eb3c507182faa4d874302b /sys/kern/init_main.c | |
parent | 84c21f1d8ff69f47f8e2bef01392d5b39cf9ce02 (diff) | |
download | FreeBSD-src-9ae6d1242c5a218cbb27f1a3ed8a9014412bbf80.zip FreeBSD-src-9ae6d1242c5a218cbb27f1a3ed8a9014412bbf80.tar.gz |
The description of fd_mtx is "filedesc structure."
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r-- | sys/kern/init_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index d64a965..afad11d 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; |