]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
wipefs: pluralize one message
authorBenno Schulenberg <bensberg@justemail.net>
Fri, 4 Oct 2013 20:32:56 +0000 (22:32 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 8 Oct 2013 13:27:30 +0000 (15:27 +0200)
Reported-by: Petr Písař <petr.pisar@atlas.cz>
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
misc-utils/wipefs.c

index ff2f62fbc51986b7f073235a8013a32a02470958..8ac6c33a08e979f3e6bf6b5f726376a8e2b64cab 100644 (file)
@@ -308,8 +308,10 @@ static void do_wipe_real(blkid_probe pr, const char *devname,
        if (flags & WP_FL_QUIET)
                return;
 
-       printf(_("%s: %zd bytes were erased at offset 0x%08jx (%s): "),
-               devname, w->len, w->offset, w->type);
+       printf(P_("%s: %zd byte was erased at offset 0x%08jx (%s): ",
+                 "%s: %zd bytes were erased at offset 0x%08jx (%s): ",
+                 w->len),
+              devname, w->len, w->offset, w->type);
 
        for (i = 0; i < w->len; i++) {
                printf("%02x", w->magic[i]);