* Re: [Typo] Man page 2 "readlink" example's code. [not found] ` <CAGMNOR8oQRKk-OXARtOuafcKiVPerDOXsF_ZhB_0sUN-=GTo_g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2013-10-25 22:01 ` Michael Kerrisk (man-pages) 0 siblings, 0 replies; only message in thread From: Michael Kerrisk (man-pages) @ 2013-10-25 22:01 UTC (permalink / raw) To: yuanhang zheng; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA 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 ^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-10-25 22:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CAGMNOR8oQRKk-OXARtOuafcKiVPerDOXsF_ZhB_0sUN-=GTo_g@mail.gmail.com>
[not found] ` <CAGMNOR8oQRKk-OXARtOuafcKiVPerDOXsF_ZhB_0sUN-=GTo_g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-10-25 22:01 ` [Typo] Man page 2 "readlink" example's code Michael Kerrisk (man-pages)
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).