Re: [PATCH 2/4] isosize: simplify some error messages

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

 



On Fri, Apr 08, 2011 at 03:51:48PM +0200, Francesco Cosoleto wrote:
> perror() and fprintf() are replaced with err() calls
> 
> Signed-off-by: Francesco Cosoleto <cosoleto@xxxxxxxxx>
> ---
>  disk-utils/isosize.c |   27 +++++++++------------------
>  1 files changed, 9 insertions(+), 18 deletions(-)

 Applied, thanks.

> 
> diff --git a/disk-utils/isosize.c b/disk-utils/isosize.c
> index 5f0358e..36c9387 100644
> --- a/disk-utils/isosize.c
> +++ b/disk-utils/isosize.c
> @@ -24,6 +24,7 @@
>  #include <fcntl.h>
>  #include <unistd.h>
>  #include <string.h>
> +#include <err.h>

Please, don't include <err.h> directly. Use c.h next time.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" 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