]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
wipefs: gettextize one sentence as a whole
authorBenno Schulenberg <bensberg@justemail.net>
Sat, 30 Jul 2011 15:17:26 +0000 (17:17 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 2 Aug 2011 12:13:44 +0000 (14:13 +0200)
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
misc-utils/wipefs.c

index 51b6fadf87a5f3a6a980714900f7a62d113fe2e5..09c6070ce158034eb59270b8437bb942244f819a 100644 (file)
@@ -237,7 +237,8 @@ do_wipe_offset(int fd, struct wipe_desc *wp, const char *fname, int noact)
        if (noact == 0 && write_all(fd, buf, len))
                err(EXIT_FAILURE, _("%s: write failed"), fname);
 
-       printf(_("%zd bytes ["), wp->len);
+       printf(_("%zd bytes were erased at offset 0x%jx (%s)\nthey were: "),
+              wp->len, wp->offset, wp->type);
 
        for (i = 0; i < len; i++) {
                printf("%02x", wp->magic[i]);
@@ -245,7 +246,7 @@ do_wipe_offset(int fd, struct wipe_desc *wp, const char *fname, int noact)
                        fputc(' ', stdout);
        }
 
-       printf(_("] erased at offset 0x%jx (%s)\n"), wp->offset, wp->type);
+       printf("\n");
        return 0;
 }