sleep.9: Really write PINTERLOCKED in the example.
authorSascha Wildner <saw@online.de>
Fri, 12 Oct 2012 19:38:50 +0000 (21:38 +0200)
committerSascha Wildner <saw@online.de>
Fri, 12 Oct 2012 19:38:50 +0000 (21:38 +0200)
Reported-by: vsrinivas
share/man/man9/sleep.9

index 4a7ea2e..d81eefd 100644 (file)
@@ -166,7 +166,7 @@ spin_lock(&important_lock);
 if (important_condition == 0) {
        tsleep_interlock(ident, flags);
        spin_unlock(&important_lock);
-       tsleep(..., PINTERLOCK, ...);
+       tsleep(..., PINTERLOCKED, ...);
 }
 .Ed
 .Pp