Spell the name of the lock right in addition to getting the type right.

Submitted by:	Kim Culhan <kimc@w8hd.org>
This commit is contained in:
John Baldwin 2003-08-18 19:23:01 +00:00
parent cda369cac4
commit d49ebea58c

View File

@ -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 */