Re: [Typo] Man page 2 "readlink" example's code.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux