]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fdisk: use comma in the ask-partition-number dialog (again)
authorKarel Zak <kzak@redhat.com>
Tue, 12 Mar 2013 09:58:33 +0000 (10:58 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 12 Mar 2013 09:58:33 +0000 (10:58 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
fdisks/fdisk-ask.c

index f00f4d698ca5a63f4a1ffbf6e6715d2420d3744b..9d2f87ac3e3f68a41c4432831980cf45dc8ff118 100644 (file)
@@ -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