summaryrefslogtreecommitdiffstats
path: root/share/man/man9/lock.9
diff options
context:
space:
mode:
authordavidc <davidc@FreeBSD.org>2002-03-24 00:31:38 +0000
committerdavidc <davidc@FreeBSD.org>2002-03-24 00:31:38 +0000
commit92f87e9176d14a1bef77b2ae7e13a46b33b36e7b (patch)
tree1bc47a2f46950321237cfbddf331106a36608d5d /share/man/man9/lock.9
parent8da6f2dfa416aed1409cd34ffe58530edecbbe8b (diff)
downloadFreeBSD-src-92f87e9176d14a1bef77b2ae7e13a46b33b36e7b.zip
FreeBSD-src-92f87e9176d14a1bef77b2ae7e13a46b33b36e7b.tar.gz
Fixed bad wording/spelling in few paragraphs.
Diffstat (limited to 'share/man/man9/lock.9')
-rw-r--r--share/man/man9/lock.98
1 files changed, 4 insertions, 4 deletions
diff --git a/share/man/man9/lock.9 b/share/man/man9/lock.9
index c737a54..b5ba3d6 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.
OpenPOWER on IntegriCloud