summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-08-18 19:23:01 +0000
committerjhb <jhb@FreeBSD.org>2003-08-18 19:23:01 +0000
commited04867a82858db1d5f8a0567272c74d581370d2 (patch)
tree2c6ef4fb8d3e6263f833bfe213d8ad1e757a5c85 /sys/fs
parent97d2d15dc7f4491dc5512c07201e857279c90f2b (diff)
downloadFreeBSD-src-ed04867a82858db1d5f8a0567272c74d581370d2.zip
FreeBSD-src-ed04867a82858db1d5f8a0567272c74d581370d2.tar.gz
Spell the name of the lock right in addition to getting the type right.
Submitted by: Kim Culhan <kimc@w8hd.org>
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/pseudofs/pseudofs_vnops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/pseudofs/pseudofs_vnops.c b/sys/fs/pseudofs/pseudofs_vnops.c
index f5d20d6..7710934 100644
--- a/sys/fs/pseudofs/pseudofs_vnops.c
+++ b/sys/fs/pseudofs/pseudofs_vnops.c
@@ -543,7 +543,7 @@ static int
pfs_iterate(struct thread *td, pid_t pid, struct pfs_node *pd,
struct pfs_node **pn, struct proc **p)
{
- sx_assert(&allproc, SX_LOCKED);
+ sx_assert(&allproc_lock, SX_LOCKED);
again:
if (*pn == NULL) {
/* first node */
OpenPOWER on IntegriCloud