Re: [PATCH] mkfs.minix: remove die()

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

 



On Wed, Apr 13, 2011 at 10:37:55AM -0300, Davidlohr Bueso wrote:

> From: Davidlohr Bueso <dave@xxxxxxx>
> Date: Wed, 13 Apr 2011 10:33:19 -0300
> Subject: [PATCH] mkfs.minix: remove die()
> 
> Get rid of this function and use errx(3) instead. This patch also
> introduces a mkfs.h header and defines general purpose mkfs related
> exit codes.

 Fixed & applied, thanks.

> -		die(_("seek to boot block failed in write_tables"));
> +		errx(MKFS_ERROR, _("seek to boot block failed in write_tables"), device_name);

 should be

       errx(MKFS_ERROR, _("%s: ........."),  device_name);

    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