]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libfdisk: (gpt) fix warning
authorKarel Zak <kzak@redhat.com>
Tue, 8 Oct 2013 13:28:53 +0000 (15:28 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 8 Oct 2013 13:28:53 +0000 (15:28 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk/src/gpt.c

index 6bd2fb704397bc11652d587478d6e2ab6ad06b71..c04b21ee2600b6d9bb660381e01a5fd0fd95216e 100644 (file)
@@ -1532,7 +1532,7 @@ static int gpt_verify_disklabel(struct fdisk_context *cxt)
                           free_sectors, nsegments, largest_segment);
        } else
                fdisk_warnx(cxt,
-                       P_("%d error detected.", "%s errors detected.", nerror),
+                       P_("%d error detected.", "%d errors detected.", nerror),
                        nerror);
 
        return 0;