Linux Manual Pages development
 help / color / mirror / Atom feed
* Copy-paste error in sysexits.h.3head
@ 2026-10-02 18:55 Roger Olsson
  2026-10-11 16:44 ` Alejandro Colomar
  0 siblings, 1 reply; 2+ messages in thread
From: Roger Olsson @ 2026-10-02 18:55 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: linux-man@vger.kernel.org

Hi,

On line 170 of /man/man3head/sysexits.h.3head, the name of the exit code
macro should probably be EX_NOPERM instead of EX_OSFILE, which is listed
twice.

EX_NOPERM (77) is listed correctly in the synopsis section.

Regards,
Roger

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

* Re: Copy-paste error in sysexits.h.3head
  2026-10-02 18:55 Copy-paste error in sysexits.h.3head Roger Olsson
@ 2026-10-11 16:44 ` Alejandro Colomar
  0 siblings, 0 replies; 2+ messages in thread
From: Alejandro Colomar @ 2026-10-11 16:44 UTC (permalink / raw)
  To: Roger Olsson; +Cc: linux-man@vger.kernel.org

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

Hi Roger,

> Date: 2026-10-02 18:55:58+0000
> From: Roger Olsson <master_pumpkin_@hotmail.com>
>
> Hi,
> 
> On line 170 of /man/man3head/sysexits.h.3head, the name of the exit code
> macro should probably be EX_NOPERM instead of EX_OSFILE, which is listed
> twice.
> 
> EX_NOPERM (77) is listed correctly in the synopsis section.

Thanks!  I've applied a fix.

	commit 58f6956b30e53fee2412f317f471f1ad1ea12442
	Author: Alejandro Colomar <alx@kernel.org>
	Date:   2026-10-11 18:43:48 +0200

	    man/man3head/sysexits.h.3head: tfix
	    
	    Reported-by: Roger Olsson <master_pumpkin_@hotmail.com>
	    Signed-off-by: Alejandro Colomar <alx@kernel.org>

	diff --git a/man/man3head/sysexits.h.3head b/man/man3head/sysexits.h.3head
	index f104ad74bff6..fa88e88047a1 100644
	--- a/man/man3head/sysexits.h.3head
	+++ b/man/man3head/sysexits.h.3head
	@@ -167,7 +167,7 @@ .SH DESCRIPTION
	 The remote system returned something that
	 was "not possible" during a protocol exchange.
	 .TP
	-.B EX_OSFILE
	+.B EX_NOPERM
	 You did not have sufficient permission to perform the operation.
	 This is not intended for file system problems,
	 which should use


Have a lovely day!
Alex

> 
> Regards,
> Roger

-- 
<https://www.alejandro-colomar.es>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2026-10-11 16:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-02 18:55 Copy-paste error in sysexits.h.3head Roger Olsson
2026-10-11 16:44 ` Alejandro Colomar

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