From ffa237928911d0b3f5e911d19edb1ac4f34f1e5e Mon Sep 17 00:00:00 2001 From: Chad David Date: Sun, 24 Mar 2002 00:31:38 +0000 Subject: [PATCH] Fixed bad wording/spelling in few paragraphs. --- share/man/man9/lock.9 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/share/man/man9/lock.9 b/share/man/man9/lock.9 index c737a54d3a3d..b5ba3d62b1c4 100644 --- a/share/man/man9/lock.9 +++ b/share/man/man9/lock.9 @@ -56,7 +56,7 @@ The .Fn lockinit function is used to initialize a lock. -It must be called prior to any operation could be performed on a lock. +It must be called before any operation can be performed on a lock. Its arguments are: .Bl -tag -width ".Fa wmesg" .It Fa lkp @@ -133,14 +133,14 @@ If an exclusive lock has been recursed, all references will be downgraded. Upgrade a shared lock to an exclusive lock. Fails with .Er EBUSY -if there is someone ahead of use waiting for an upgrade. +if there is someone ahead of you in line waiting for an upgrade. If this call fails, the shared lock is lost. -Attempt to upgrade an exclusive lock will cause a +Attempts to upgrade an exclusive lock will cause a .Xr panic 9 . .It Dv LK_UPGRADE Upgrade a shared lock to an exclusive lock. If this call fails, the shared lock is lost. -Attempt to upgrade an exclusive lock will cause a +Attempts to upgrade an exclusive lock will cause a .Xr panic 9 . .It Dv LK_RELEASE Release the lock.