From d49ebea58c795d0e71e59b79ec53ff026d28f6a8 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Mon, 18 Aug 2003 19:23:01 +0000 Subject: [PATCH] Spell the name of the lock right in addition to getting the type right. Submitted by: Kim Culhan --- sys/fs/pseudofs/pseudofs_vnops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/fs/pseudofs/pseudofs_vnops.c b/sys/fs/pseudofs/pseudofs_vnops.c index f5d20d62db8d..77109346c0b8 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 */