* man-pages 3.45, if_nameindex(3): double negation
@ 2012-12-23 22:44 Cédric Boutillier
2012-12-24 2:53 ` Michael Kerrisk (man-pages)
0 siblings, 1 reply; 2+ messages in thread
From: Cédric Boutillier @ 2012-12-23 22:44 UTC (permalink / raw)
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1.1: Type: text/plain, Size: 406 bytes --]
Hi,
I noticed a double negation in the man page of if_nameindex(3) (present
in 3.45 and online version dating from 2012-12-20):
ERRORS top
if_nameindex() may fail and set errno if:
ENOBUFS
Insufficient resources unavailable.
^^^^^^^^^^^^ ^^^^^^^^^^^
Patch attached replacing unavailable into available.
Cheers,
Cédric
[-- Attachment #1.2: if_nameindex.3_double_neg.patch --]
[-- Type: text/x-diff, Size: 343 bytes --]
diff --git a/man3/if_nameindex.3 b/man3/if_nameindex.3
index 36ffc80..f9480e6 100644
--- a/man3/if_nameindex.3
+++ b/man3/if_nameindex.3
@@ -80,7 +80,7 @@ may fail and set
if:
.TP
.B ENOBUFS
-Insufficient resources unavailable.
+Insufficient resources available.
.PP
.BR if_nameindex ()
may also fail for any of the errors specified for
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: man-pages 3.45, if_nameindex(3): double negation
2012-12-23 22:44 man-pages 3.45, if_nameindex(3): double negation Cédric Boutillier
@ 2012-12-24 2:53 ` Michael Kerrisk (man-pages)
0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2012-12-24 2:53 UTC (permalink / raw)
To: Cédric Boutillier; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
Hello Cédric
On Sun, Dec 23, 2012 at 11:44 PM, Cédric Boutillier
<cedric.boutillier-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Hi,
>
> I noticed a double negation in the man page of if_nameindex(3) (present
> in 3.45 and online version dating from 2012-12-20):
> ERRORS top
>
> if_nameindex() may fail and set errno if:
>
> ENOBUFS
> Insufficient resources unavailable.
> ^^^^^^^^^^^^ ^^^^^^^^^^^
>
> Patch attached replacing unavailable into available.
Thanks! Applied.
Cheers,
Michael
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface"; http://man7.org/tlpi/
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-12-24 2:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-23 22:44 man-pages 3.45, if_nameindex(3): double negation Cédric Boutillier
2012-12-24 2:53 ` Michael Kerrisk (man-pages)
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.