From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael Kerrisk (man-pages)" Subject: Re: [PATCH 10/10] Fix prototype for syscall(2) Date: Thu, 08 May 2014 11:44:35 +0200 Message-ID: <536B5203.6000608@gmail.com> References: <1398886962-10633-1-git-send-email-rv@rasmusvillemoes.dk> <1398886962-10633-11-git-send-email-rv@rasmusvillemoes.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1398886962-10633-11-git-send-email-rv-qQsb+v5E8BnlAoU/VqSP6n9LOBIZ5rWg@public.gmane.org> Sender: linux-man-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Rasmus Villemoes Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-man@vger.kernel.org On 04/30/2014 09:42 PM, Rasmus Villemoes wrote: > The first argument and the return value of syscall() has type long, > not int. Applied! Thanks, Michael > Signed-off-by: Rasmus Villemoes > --- > man2/syscall.2 | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/man2/syscall.2 b/man2/syscall.2 > index 01a4739..f30e77a 100644 > --- a/man2/syscall.2 > +++ b/man2/syscall.2 > @@ -46,7 +46,7 @@ syscall \- indirect system call > .B #include > .BR "#include " "/* For SYS_xxx definitions */" > > -.BI "int syscall(int " number ", ...);" > +.BI "long syscall(long " number ", ...);" > .fi > .SH DESCRIPTION > .BR syscall () > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html