public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] man/man2/syscall.2: fix numbering for notes
@ 2026-02-02 11:39 Thorsten Glaser
  2026-02-02 13:43 ` Alejandro Colomar
  0 siblings, 1 reply; 4+ messages in thread
From: Thorsten Glaser @ 2026-02-02 11:39 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: linux-man

[-- Attachment #1: Type: text/plain, Size: 404 bytes --]

Hi,

the table refers to numbered notes, but the notes just have
bullets. The attached patch fixes that.

bye,
//Thorsten (with $dayjob hat)
-- 
Thorsten Glaser
Linux / Unix Developer
Tel.: +49 160 91168501
E-Mail: tglaser@b1-systems.de

B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / https://www.b1-systems.de/
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt, HRB 3537

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-diff; name=0001-man-man2-syscall.2-fix-numbering-for-notes.patch, Size: 1776 bytes --]

From ff2e8c889d81bf696ded21cea2ab5e01b76900d5 Mon Sep 17 00:00:00 2001
From: Thorsten Glaser <tglaser@b1-systems.de>
Date: Mon, 2 Feb 2026 12:36:56 +0100
Subject: [PATCH] man/man2/syscall.2: fix numbering for notes

---
 man/man2/syscall.2 | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/man/man2/syscall.2 b/man/man2/syscall.2
index 54385cd..17e0eb5 100644
--- a/man/man2/syscall.2
+++ b/man/man2/syscall.2
@@ -197,7 +197,7 @@ xtensa	syscall	a2	a2	-	-
 .TE
 .P
 Notes:
-.IP \[bu] 3
+.IP 1) 3
 On a few architectures,
 a register is used as a boolean
 (0 indicating no error, and \-1 indicating an error) to signal that the
@@ -213,20 +213,20 @@ On powerpc64, the summary overflow bit
 in field 0 of the condition register
 .RI ( cr0 )
 is used.
-.IP \[bu]
+.IP 2)
 .I NR
 is the system call number.
-.IP \[bu]
+.IP 3)
 For s390 and s390x,
 .I NR
 (the system call number) may be passed directly with
 .I "svc\ NR"
 if it is less than 256.
-.IP \[bu]
+.IP 4)
 On SuperH additional trap numbers are supported for historic reasons, but
 .BR trapa #31
 is the recommended "unified" ABI.
-.IP \[bu]
+.IP 5)
 The x32 ABI shares syscall table with x86-64 ABI, but there are some
 nuances:
 .RS
@@ -266,7 +266,7 @@ but passes an 8-byte
 .I pos
 argument in a single register and not two, as is done in every other ABI.
 .RE
-.IP \[bu]
+.IP 6)
 Some architectures
 (namely, Alpha, IA-64, MIPS, SuperH, sparc/32, and sparc/64)
 use an additional register ("Retval2" in the above table)
@@ -324,7 +324,7 @@ xtensa	a6	a3	a4	a5	a8	a9	-
 .TE
 .P
 Notes:
-.IP \[bu] 3
+.IP 1) 3
 The mips/o32 system call convention passes
 arguments 5 through 8 on the user stack.
 .if t \{\
-- 
2.47.3


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-02-02 14:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-02 11:39 [PATCH] man/man2/syscall.2: fix numbering for notes Thorsten Glaser
2026-02-02 13:43 ` Alejandro Colomar
2026-02-02 13:48   ` Thorsten Glaser
2026-02-02 14:01   ` Alejandro Colomar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox