]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
syscall.2: Minor wording tweaks
authorMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 8 Jun 2020 20:59:47 +0000 (22:59 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 8 Jun 2020 21:09:36 +0000 (23:09 +0200)
Reported-by: Jonny Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/syscall.2

index 2fd94db53998eead100e05c42e358fd9386f96da..382c40b22ac99616dd4147810038886f3eb2b75d 100644 (file)
@@ -82,9 +82,8 @@ when invoking a system call that has no wrapper function in the C library.
 .BR syscall ()
 saves CPU registers before making the system call,
 restores the registers upon return from the system call,
-and stores any error code returned by the system call in
-.BR errno (3)
-if an error occurs.
+and stores any error returned by the system call in
+.BR errno (3).
 .PP
 Symbolic constants for system call numbers can be found in the header file
 .IR <sys/syscall.h> .
@@ -92,7 +91,7 @@ Symbolic constants for system call numbers can be found in the header file
 The return value is defined by the system call being invoked.
 In general, a 0 return value indicates success.
 A \-1 return value indicates an error,
-and an error code is stored in
+and an error number is stored in
 .IR errno .
 .SH NOTES
 .BR syscall ()