From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: yuanhang zheng <zhengyhn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [Typo] Man page 2 "readlink" example's code.
Date: Sat, 26 Oct 2013 11:01:08 +1300 [thread overview]
Message-ID: <526AEA24.7020107@gmail.com> (raw)
In-Reply-To: <CAGMNOR8oQRKk-OXARtOuafcKiVPerDOXsF_ZhB_0sUN-=GTo_g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On 14.10.2013 20:25, yuanhang zheng wrote:
> Hi,
> I have found a typo in the `man 2 readlink` man page. In the "Example" section,
>
> if (r < 0) {
> perror("lstat");
> exit(EXIT_FAILURE);
> }
>
> here ``perror("lstat");`` should be ``perror("readlink");``.
>
> Although this is just a small mistake, I think it will confuse the reader. Please fix it. Thanks.
>
> Best wish,
> Yuanhang Zheng.
Thank you. Fixed now.
Cheers,
Michael
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
My next Linux/UNIX system programming course:
--
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
parent reply other threads:[~2013-10-25 22:01 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <CAGMNOR8oQRKk-OXARtOuafcKiVPerDOXsF_ZhB_0sUN-=GTo_g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
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=526AEA24.7020107@gmail.com \
--to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=zhengyhn-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).