summaryrefslogtreecommitdiff
path: root/share/man/man9
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man9')
-rw-r--r--share/man/man9/lock.92
-rw-r--r--share/man/man9/style.94
2 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man9/lock.9 b/share/man/man9/lock.9
index 3f70763c65b..22fc3c1d9df 100644
--- a/share/man/man9/lock.9
+++ b/share/man/man9/lock.9
@@ -83,7 +83,7 @@ implemented with machine-dependent locking primitives.
Simplelocks are usually used only by the high-level lock manager and
to protect short, critical sections of code.
Simplelocks are the only
-locks that can be be used inside an interrupt handler.
+locks that can be used inside an interrupt handler.
For a simplelock to be used in an interrupt handler, care must be taken to
disable the interrupt, acquire the lock, do any processing, release
the simplelock and re-enable the interrupt.
diff --git a/share/man/man9/style.9 b/share/man/man9/style.9
index 85c4dbeb9a2..f9c44597f36 100644
--- a/share/man/man9/style.9
+++ b/share/man/man9/style.9
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: style.9,v 1.29 2003/01/21 08:12:41 hugh Exp $
+.\" $OpenBSD: style.9,v 1.30 2003/02/25 08:51:31 jmc Exp $
.\"
.Dd June 18, 2001
.Dt STYLE 9
@@ -458,7 +458,7 @@ in a program, the
.Fl W
or
.Fl Wall
-flag should be used to verify that that compiler does not generate
+flag should be used to verify that the compiler does not generate
warnings such as
.Bd -literal -offset 0i
warning: variable `foo' might be clobbered by `longjmp' or `vfork'.