Re: [PATCH] look: fix conflict between locally defined err() and glibc's version

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

 



On Fri, 2010-10-15 at 20:13 +0200, Marek Polacek wrote:
> On 10/15/2010 06:52 PM, Davidlohr Bueso wrote:
> > fprintf(stderr, "%s: %s", file, strerror(errno));
> 
> Shouldn't we use "%m" instead of strerror(errno)?

I already sent another patch to use err(3) instead of fprintf.

-Davidlohr

--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [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