Skip to contentSkip to conversation

sfdisk: fix silly mbyte typo

PATCH Applied Davidlohr Bueso 3 participants 5 messages Apr 16, 2012 Util-Linux package

lore
Share & tools
lore
#0 lore raw

PATCH 5/8 sfdisk: fix silly mbyte typo

From: Davidlohr Bueso <[email protected]>

---
 fdisk/sfdisk.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
fdisk/sfdisk.c +1 -1
index 8bd27da..f81a7fa 100644
@@ -930,7 +930,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 = megabytes of 1048576 bytes, blocks of 1024 bytes"
 		 ", counting from %d\n\n"), increment);
 	printf(_("   Device Boot Start   End    MiB    #blocks   Id  System\n"));
 	break;
Signature · 1 line
1.7.4.1
#1 lore raw

fdisk/sfdisk.c out_partition_header(char *dev, int format, struct ge=

Quoted 15 lines · Davidlohr Bueso

Subject: [PATCH 5/8] sfdisk: fix silly mbyte typo
=20
From: Davidlohr Bueso <[email protected]>
=20

=20

---
 fdisk/sfdisk.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

=20

fdisk/sfdisk.c +0 -0
index 8bd27da..f81a7fa 100644
@@ -930,7 +930,7 @@ out_partition_header(char *dev, int format, struct ge=

ometry G) {

fdisk/sfdisk.c out_partition_header(char *dev, int format, struct ge= · line 930

Quoted 1 line
fdisk/sfdisk.c +0 -0
 	printf(_("   Device Boot   Start       End    #blocks   Id  System\n"))=

;

fdisk/sfdisk.c out_partition_header(char *dev, int format, struct geometry G) {

Quoted 6 lines
fdisk/sfdisk.c +1 -1
 	break;
     case F_MEGABYTE:
-	printf(_("Units =3D mebibytes of 1048576 bytes, blocks of 1024 bytes"
+	printf(_("Units =3D megabytes of 1048576 bytes, blocks of 1024 bytes"
 		 ", counting from %d\n\n"), increment);
 	printf(_("   Device Boot Start   End    MiB    #blocks   Id  System\n")=

);

Quoted 3 lines
fdisk/sfdisk.c +0 -1
 	break;
--=20

1.7.4.1

not silly:
http://en.wikipedia.org/wiki/Mebibyte

Have a nice day,
Berny

#2 lore raw
Quoted 22 lines · Bernhard
Quoted 20 lines · Davidlohr Bueso

Subject: [PATCH 5/8] sfdisk: fix silly mbyte typo

From: Davidlohr Bueso <[email protected]>

---
 fdisk/sfdisk.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
fdisk/sfdisk.c +1 -1
index 8bd27da..f81a7fa 100644
@@ -930,7 +930,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 = megabytes of 1048576 bytes, blocks of 1024 bytes"
Quoted 8 lines
Quoted 5 lines
fdisk/sfdisk.c +0 -0
 		 ", counting from %d\n\n"), increment);
 	printf(_("   Device Boot Start   End    MiB    #blocks   Id  System\n"));
 	break;
Signature · 1 line
1.7.4.1

not silly:
http://en.wikipedia.org/wiki/Mebibyte

hehe, silly me then.

Quoted 4 lines

Have a nice day,
Berny

#3 lore raw

Davidlohr Bueso wrote:

Quoted 3 lines · Bernhard
Quoted 2 lines · Davidlohr Bueso
fdisk/sfdisk.c +1 -1
-	printf(_("Units = mebibytes of 1048576 bytes, blocks of 1024 bytes"
+	printf(_("Units = megabytes of 1048576 bytes, blocks of 1024 bytes"

...

Quoted 5 lines
Quoted 3 lines

not silly:
http://en.wikipedia.org/wiki/Mebibyte

hehe, silly me then.

no worries ;-)

Maybe this is better?

- printf(_("Units = mebibytes of 1048576 bytes, blocks of 1024 bytes"
+ printf(_("Units = 1MiB, blocks of 1024*1024 bytes"

Berny

maintainer
#4 lore raw

Review

Quoted 4 lines · Bernhard

Maybe this is better?

(quoted diff) +1 -1
-	printf(_("Units = mebibytes of 1048576 bytes, blocks of 1024 bytes"
+	printf(_("Units = 1MiB, blocks of 1024*1024 bytes"

+1

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com