From e2c751049c88405e238846a41a589bfef9a143b4 Mon Sep 17 00:00:00 2001 From: Jing Peng Date: Sat, 21 Nov 2020 16:08:30 -0500 Subject: [PATCH] futex.2: tfix In the comment of the example program, the peer blocks on fwait() rather than fpost(). Signed-off-by: Jing Peng Signed-off-by: Michael Kerrisk --- man2/futex.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man2/futex.2 b/man2/futex.2 index 76c89f16c..5e006784f 100644 --- a/man2/futex.2 +++ b/man2/futex.2 @@ -1809,7 +1809,7 @@ fwait(uint32_t *futexp) /* Release the futex pointed to by \(aqfutexp\(aq: if the futex currently has the value 0, set its value to 1 and the wake any futex waiters, - so that if the peer is blocked in fpost(), it can proceed. */ + so that if the peer is blocked in fwait(), it can proceed. */ static void fpost(uint32_t *futexp)