From de02175fc17d6761ffb0428602b5fab3c308abd2 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Fri, 12 Oct 2012 21:27:22 +0200 Subject: [PATCH] sleep.9: s/PINTERLOCK/PINTERLOCKED/ --- share/man/man9/sleep.9 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share/man/man9/sleep.9 b/share/man/man9/sleep.9 index a07f8ceab6..4a7ea2e558 100644 --- a/share/man/man9/sleep.9 +++ b/share/man/man9/sleep.9 @@ -57,7 +57,7 @@ .\" .\" $FreeBSD: src/share/man/man9/sleep.9,v 1.18.2.5 2001/12/17 11:30:19 ru Exp $ .\" -.Dd April 12, 2010 +.Dd October 12, 2012 .Dt SLEEP 9 .Os .Sh NAME @@ -156,7 +156,7 @@ The pattern is: (test condition of interest) tsleep_interlock(ident, flags) (release high level synchronization primitive) -tsleep(..., PINTERLOCK) +tsleep(..., PINTERLOCKED, ...) .Ed .Pp For example, to implement @@ -166,7 +166,7 @@ spin_lock(&important_lock); if (important_condition == 0) { tsleep_interlock(ident, flags); spin_unlock(&important_lock); - tsleep(..., PINTERLOCK); + tsleep(..., PINTERLOCK, ...); } .Ed .Pp -- 2.41.0