util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: Davidlohr Bueso <dave@gnu.org>
Cc: Petr Uzel <petr.uzel@suse.cz>, util-linux <util-linux@vger.kernel.org>
Subject: Re: [PATCH 08/10] fdisk: API: add create disklabel to label operations
Date: Tue, 24 Jul 2012 13:39:57 +0200	[thread overview]
Message-ID: <20120724113957.GE736@x2.net.home> (raw)
In-Reply-To: <1342976743.2863.18.camel@offbook>

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@redhat.com>
 http://karelzak.blogspot.com

      reply	other threads:[~2012-07-24 11:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-22 17:05 [PATCH 08/10] fdisk: API: add create disklabel to label operations Davidlohr Bueso
2012-07-24 11:39 ` Karel Zak [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120724113957.GE736@x2.net.home \
    --to=kzak@redhat.com \
    --cc=dave@gnu.org \
    --cc=petr.uzel@suse.cz \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).