sfdisk: fix silly mbyte typo
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
@@ -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
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]>
=20Signed-off-by Davidlohr Bueso <[email protected]>=20
--- fdisk/sfdisk.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)=20
fdisk/sfdisk.c +0
-0@@ -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
-0printf(_(" 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
-1break ;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
-1break ; --=201.7.4.1
not silly:
http://en.wikipedia.org/wiki/Mebibyte
Have a nice day,
Berny
Quoted 22 lines · Bernhard
Quoted 20 lines · Davidlohr Bueso
Subject: [PATCH 5/8] sfdisk: fix silly mbyte typo
From: Davidlohr Bueso <[email protected]>
Signed-off-by Davidlohr Bueso <[email protected]>--- fdisk/sfdisk.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)fdisk/sfdisk.c +1
-1@@ -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.1not silly:
http://en.wikipedia.org/wiki/Mebibyte
hehe, silly me then.
Quoted 4 lines
Have a nice day,
Berny
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/Mebibytehehe, 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
Karel Zak
maintainerReview
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