]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
sched_getcpu.3: tfix
authorAlejandro Colomar <alx@kernel.org>
Mon, 1 Jan 2024 12:09:58 +0000 (13:09 +0100)
committerAlejandro Colomar <alx@kernel.org>
Mon, 1 Jan 2024 12:09:58 +0000 (13:09 +0100)
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>
man3/sched_getcpu.3

index b49d34873b0e9d555a848feeb38dbdbaaaeb8cad..f45d80054a63d0d75daa8f7487f6c887580eb810 100644 (file)
@@ -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