From: Bernhard Voelker <mail@bernhard-voelker.de>
To: "util-linux@vger.kernel.org" <util-linux@vger.kernel.org>,
Karel Zak <kzak@redhat.com>, Davidlohr Bueso <dave@gnu.org>
Subject: [PATCH] sfdisk (out_partition_header): improve F_MEGABYTE header [WAS: [PATCH 5/8] sfdisk: fix silly mbyte typo]
Date: Tue, 17 Apr 2012 10:42:58 +0200 [thread overview]
Message-ID: <4F8D2D12.8070206@bernhard-voelker.de> (raw)
Karel Zak wrote:
> On Mon, Apr 16, 2012 at 12:22:12PM +0200, Voelker, Bernhard wrote:
> > Maybe this is better?
> >
> > - printf(_("Units = mebibytes of 1048576 bytes, blocks of 1024 bytes"
> > + printf(_("Units = 1MiB, blocks of 1024*1024 bytes"
>
> +1
>From d54cd212b7ac410669ed61e75717acdb67de2fa3 Mon Sep 17 00:00:00 2001
From: Bernhard Voelker <mail@bernhard-voelker.de>
Date: Tue, 17 Apr 2012 10:37:21 +0200
Subject: [PATCH] sfdisk (out_partition_header): improve F_MEGABYTE header
Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
---
fdisk/sfdisk.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fdisk/sfdisk.c b/fdisk/sfdisk.c
index 95e5828..a2684fb 100644
--- a/fdisk/sfdisk.c
+++ b/fdisk/sfdisk.c
@@ -929,7 +929,7 @@ out_partition_header(char *dev, int format, struct geometry G) {
printf(_(" Device Boot Start End #blocks Id System\n"));
break;
case F_MEGABYTE:
- printf(_("Units = mebibytes of 1048576 bytes, blocks of 1024 bytes"
+ printf(_("Units = 1MiB, blocks of 1024*1024 bytes"
", counting from %d\n\n"), increment);
printf(_(" Device Boot Start End MiB #blocks Id System\n"));
break;
--
1.7.7
next reply other threads:[~2012-04-17 8:43 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-17 8:42 Bernhard Voelker [this message]
2012-04-17 13:56 ` [PATCH 5/8] sfdisk: fix silly mbyte typo Pádraig Brady
2012-04-17 14:14 ` Bernhard Voelker
2012-04-17 14:32 ` Pádraig Brady
2012-04-17 14:48 ` Karel Zak
2012-04-17 14:59 ` Bernhard Voelker
2012-04-18 6:50 ` Bernhard Voelker
2012-04-18 10:46 ` Pádraig Brady
2012-04-23 10:48 ` Karel Zak
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=4F8D2D12.8070206@bernhard-voelker.de \
--to=mail@bernhard-voelker.de \
--cc=dave@gnu.org \
--cc=kzak@redhat.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.