get_mempolicy.2: SYNOPSIS: fix return type of get_mempolicy()

See https://bugzilla.kernel.org/show_bug.cgi?id=97051

Reported-by: Nadav Har'El <nyh@math.technion.ac.il>
Reported-by: Andi Kleen <andi-bz.firstfloor.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-05-30 05:05:42 +02:00
parent fe340cde31
commit 2d5f2098a4
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ get_mempolicy \- retrieve NUMA memory policy for a thread
.B "#include <numaif.h>"
.nf
.sp
.BI "int get_mempolicy(int *" mode ", unsigned long *" nodemask ,
.BI "long get_mempolicy(int *" mode ", unsigned long *" nodemask ,
.BI " unsigned long " maxnode ", void *" addr ,
.BI " unsigned long " flags );
.sp