diff options
author | Karel Zak | 2014-08-22 10:25:35 +0200 |
---|---|---|
committer | Karel Zak | 2014-08-22 10:25:35 +0200 |
commit | 385810d22a31fe968fcf76e1b608ac3031ddd4fa (patch) | |
tree | aa4a36ac4f97eab30144171612c5e724e3812b64 /disk-utils/fdisk.c | |
parent | mountpoint: clarify that it works on files (diff) | |
download | kernel-qcow2-util-linux-385810d22a31fe968fcf76e1b608ac3031ddd4fa.tar.gz kernel-qcow2-util-linux-385810d22a31fe968fcf76e1b608ac3031ddd4fa.tar.xz kernel-qcow2-util-linux-385810d22a31fe968fcf76e1b608ac3031ddd4fa.zip |
libfdisk: remove debug dump function, cleanup API
The fdisk_dump_* prefix will be used for sfdisk-like functionality.
The patch also add FDISK_ prefix to fdisk_get_unit() options.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/fdisk.c')
-rw-r--r-- | disk-utils/fdisk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/disk-utils/fdisk.c b/disk-utils/fdisk.c index cd70dc99b..4f9d69454 100644 --- a/disk-utils/fdisk.c +++ b/disk-utils/fdisk.c @@ -535,7 +535,7 @@ void list_disk_geometry(struct fdisk_context *cxt) fdisk_get_geom_cylinders(cxt)); fdisk_info(cxt, _("Units: %s of %d * %ld = %ld bytes"), - fdisk_get_unit(cxt, PLURAL), + fdisk_get_unit(cxt, FDISK_PLURAL), fdisk_get_units_per_sector(cxt), fdisk_get_sector_size(cxt), fdisk_get_units_per_sector(cxt) * fdisk_get_sector_size(cxt)); |