From: "Cédric Boutillier" <cedric.boutillier-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: man-pages 3.45, if_nameindex(3): double negation
Date: Sun, 23 Dec 2012 23:44:39 +0100 [thread overview]
Message-ID: <20121223224439.GA8129@spin> (raw)
[-- 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 --]
next reply other threads:[~2012-12-23 22:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-23 22:44 Cédric Boutillier [this message]
2012-12-24 2:53 ` man-pages 3.45, if_nameindex(3): double negation Michael Kerrisk (man-pages)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121223224439.GA8129@spin \
--to=cedric.boutillier-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.