Re: [PATCH 08/10] fdisk: API: add create disklabel to label operations

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

 



On Sun, Jul 22, 2012 at 07:05:43PM +0200, Davidlohr Bueso wrote:
>  12 files changed, 78 insertions(+), 50 deletions(-)

 Applied witch changes, thanks.

> diff --git a/fdisks/fdisk.c b/fdisks/fdisk.c
> index ab2cf5b..034df15 100644
> --- a/fdisks/fdisk.c
> +++ b/fdisks/fdisk.c
> @@ -505,11 +505,7 @@ static int get_boot(struct fdisk_context *cxt, int try_only) {
>  
>  		fprintf(stderr,
>  			_("Device does not contain a recognized partition table\n"));
> -#ifdef __sparc__
> -		create_sunlabel(cxt);
> -#else
> -		create_doslabel(cxt);
> -#endif
> +		fdisk_label_create(cxt, NULL);
>  	}

 I have removed get_boot() :-)

    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