summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Zak2013-03-05 15:45:35 +0100
committerKarel Zak2013-03-11 13:00:58 +0100
commit82d55456a918c9eb56b1a601fd73429aea709435 (patch)
tree6f6df5155b2931cf50323e7f09f5d2f0dadd1f95
parentfdisk: use fdisk_ask_partnum() everywhere (diff)
downloadkernel-qcow2-util-linux-82d55456a918c9eb56b1a601fd73429aea709435.tar.gz
kernel-qcow2-util-linux-82d55456a918c9eb56b1a601fd73429aea709435.tar.xz
kernel-qcow2-util-linux-82d55456a918c9eb56b1a601fd73429aea709435.zip
fdisk: remove comma from ask number dialog
Signed-off-by: Karel Zak <kzak@redhat.com>
-rw-r--r--fdisks/fdisk-ask.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fdisks/fdisk-ask.c b/fdisks/fdisk-ask.c
index 9d2f87ac3..f00f4d698 100644
--- a/fdisks/fdisk-ask.c
+++ b/fdisks/fdisk-ask.c
@@ -63,7 +63,7 @@ static int ask_number(struct fdisk_context *cxt,
DBG(ASK, dbgprint("asking for number ['%s', <%jd,%jd>, default=%jd, range: %s]",
q, low, high, dflt, range));
if (range && dflt >= low && dflt <= high)
- snprintf(prompt, sizeof(prompt), _("%s (%s, default %jd): "), q, range, dflt);
+ snprintf(prompt, sizeof(prompt), _("%s (%s default %jd): "), q, range, dflt);
else if (dflt >= low && dflt <= high)
snprintf(prompt, sizeof(prompt), _("%s (%jd-%jd, default %jd): "), q, low, high, dflt);
else
@@ -112,7 +112,7 @@ static int ask_offset(struct fdisk_context *cxt,
q, low, high, base, dflt, range));
if (range && dflt >= low && dflt <= high)
- snprintf(prompt, sizeof(prompt), _("%s (%s, default %jd): "), q, range, dflt);
+ snprintf(prompt, sizeof(prompt), _("%s (%s default %jd): "), q, range, dflt);
else if (dflt >= low && dflt <= high)
snprintf(prompt, sizeof(prompt), _("%s (%jd-%jd, default %jd): "), q, low, high, dflt);
else