From: YOSHIFUJI Hideaki <yoshfuji-VfPWfsRibaP+Ru+s062T9g@public.gmane.org>
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: YOSHIFUJI Hideaki <yoshfuji-VfPWfsRibaP+Ru+s062T9g@public.gmane.org>
Subject: Re: [RFC] if_nameindex.3: New page documenting if_nameindex(3) and if_freenameindex(3)
Date: Thu, 29 Nov 2012 20:07:07 +0900 [thread overview]
Message-ID: <50B741DB.3060808@linux-ipv6.org> (raw)
In-Reply-To: <CAKgNAkgJ28rsi4fLb_afX=mdfhsYvAm3H_k0qHpihoTfNFF0og-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Hi, Michael.
Michael Kerrisk (man-pages) wrote:
> On Fri, Nov 16, 2012 at 6:28 PM, YOSHIFUJI Hideaki
> <yoshfuji-VfPWfsRibaP+Ru+s062T9g@public.gmane.org> wrote:
>> Please review.
>
> Thanks Hideaki.
>
> I've merged this into a branch, made a number of fixes, and added an
> example program. Could you check my changes in the diff below. (The
> complete page is attached.)
> + for (i = if_ni; ! (i\->if_index == 0 && i\->if_name == NULL); i++)
> + printf("%d: %s\\n", i\->if_index, i\->if_name);
Since type of if_index is unsigned int, please use %u here.
Thanks.
--yoshfuji
--
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
next prev parent reply other threads:[~2012-11-29 11:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-16 17:28 [RFC] if_nameindex.3: New page documenting if_nameindex(3) and if_freenameindex(3) YOSHIFUJI Hideaki
[not found] ` <201211161728.qAGHSMj0015535-3Be77hNiKzq6hyM1GC9nJ01gUKqpuoTTXqFh9Ls21Oc@public.gmane.org>
2012-11-22 4:40 ` Michael Kerrisk (man-pages)
[not found] ` <CAKgNAkgJ28rsi4fLb_afX=mdfhsYvAm3H_k0qHpihoTfNFF0og-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-11-29 11:07 ` YOSHIFUJI Hideaki [this message]
[not found] ` <50B741DB.3060808-VfPWfsRibaP+Ru+s062T9g@public.gmane.org>
2012-12-13 4:20 ` 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=50B741DB.3060808@linux-ipv6.org \
--to=yoshfuji-vfpwfsribap+ru+s062t9g@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.