diff options
author | Karel Zak | 2014-02-04 23:09:26 +0100 |
---|---|---|
committer | Karel Zak | 2014-03-11 11:35:14 +0100 |
commit | 5139eca74a4b71fe95ae76599d35bf5275fa045f (patch) | |
tree | 2b915e2f4e243bf5d48cbfc82438a4ee620884be /fdisks/cfdisk.c | |
parent | libfdisk: (dos) consolidate partition end-offset code (diff) | |
download | kernel-qcow2-util-linux-5139eca74a4b71fe95ae76599d35bf5275fa045f.tar.gz kernel-qcow2-util-linux-5139eca74a4b71fe95ae76599d35bf5275fa045f.tar.xz kernel-qcow2-util-linux-5139eca74a4b71fe95ae76599d35bf5275fa045f.zip |
libfdisk: add dump functions, make freespace code generic
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'fdisks/cfdisk.c')
-rw-r--r-- | fdisks/cfdisk.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fdisks/cfdisk.c b/fdisks/cfdisk.c index 32d2a9d1f..25f6a683a 100644 --- a/fdisks/cfdisk.c +++ b/fdisks/cfdisk.c @@ -658,6 +658,8 @@ static int menu_cb_main(struct cfdisk *cf, int key) pa = get_current_partition(cf); n = fdisk_partition_get_partno(pa); + DBG(FRONTEND, dbgprint("menu action on %p", pa)); + switch (key) { case 'b': /* Bootable flag */ { @@ -1152,7 +1154,7 @@ static int ui_get_size(struct cfdisk *cf, const char *prompt, uintmax_t *res, snprintf(buf, sizeof(buf), "%s", dflt); rc = ui_get_string(cf, prompt, - _("The size may be followed by {M,B,G,T}iB " + _("May be followed by {M,B,G,T}iB " "(the \"iB\" is optional) or S for sectors."), buf, sizeof(buf)); if (rc == 0) { |