summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-01-01 13:09:58 +0100
committerAlejandro Colomar <alx@kernel.org>2024-01-01 13:09:58 +0100
commitf9816831010228c5306584df6880533f33547ecd (patch)
tree0df573a437334b9eea28b9ea68d6623efdf603d4
parent26cdb3ebb2f6bd5a0c947bcf46e35b7c07759632 (diff)
sched_getcpu.3: tfix
Fixes: 2b65a83f2983 ("Documents sched_getcpu(3), a wrapper for getcpu(2), provided since glibc 2.6.") Reported-by: Shahab Ouraie <shahabouraie@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man3/sched_getcpu.32
1 files changed, 1 insertions, 1 deletions
diff --git a/man3/sched_getcpu.3 b/man3/sched_getcpu.3
index b49d34873..f45d80054 100644
--- a/man3/sched_getcpu.3
+++ b/man3/sched_getcpu.3
@@ -80,7 +80,7 @@ call:
.in +4n
.EX
int c, s;
-s = getcpu(&c, NULL, NULL);
+s = getcpu(&c, NULL);
cpu = (s == \-1) ? s : c;
.EE
.in