diff options
author | Bernhard Voelker | 2012-04-18 08:47:29 +0200 |
---|---|---|
committer | Karel Zak | 2012-04-23 12:45:25 +0200 |
commit | 13716cf30694d601c6ca1592424ef8c6beed6f1e (patch) | |
tree | ee45964cb020f1bd017790b45d9060754f612652 /fdisk/sfdisk.c | |
parent | fdisk: remove dead code (diff) | |
download | kernel-qcow2-util-linux-13716cf30694d601c6ca1592424ef8c6beed6f1e.tar.gz kernel-qcow2-util-linux-13716cf30694d601c6ca1592424ef8c6beed6f1e.tar.xz kernel-qcow2-util-linux-13716cf30694d601c6ca1592424ef8c6beed6f1e.zip |
sfdisk: improve F_MEGABYTE header
Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
Diffstat (limited to 'fdisk/sfdisk.c')
-rw-r--r-- | fdisk/sfdisk.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fdisk/sfdisk.c b/fdisk/sfdisk.c index ada23a5ca..01a32c32b 100644 --- a/fdisk/sfdisk.c +++ b/fdisk/sfdisk.c @@ -913,24 +913,24 @@ out_partition_header(char *dev, int format, struct geometry G) { G.cylindersize ? _("cylinders") : _("sectors")); case F_CYLINDER: if (G.cylindersize) { - printf(_("Units = cylinders of %lu bytes, blocks of 1024 bytes" + printf(_("Units: cylinders of %lu bytes, blocks of 1024 bytes" ", counting from %d\n\n"), G.cylindersize << 9, increment); printf(_(" Device Boot Start End #cyls #blocks Id System\n")); break; } /* fall through */ case F_SECTOR: - printf(_("Units = sectors of 512 bytes, counting from %d\n\n"), + printf(_("Units: sectors of 512 bytes, counting from %d\n\n"), increment); printf(_(" Device Boot Start End #sectors Id System\n")); break; case F_BLOCK: - printf(_("Units = blocks of 1024 bytes, counting from %d\n\n"), + printf(_("Units: blocks of 1024 bytes, counting from %d\n\n"), increment); 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 = 1024*1024 bytes, blocks of 1024 bytes" ", counting from %d\n\n"), increment); printf(_(" Device Boot Start End MiB #blocks Id System\n")); break; |