]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
partx: simplify a --verbose progress message
authorBenno Schulenberg <bensberg@justemail.net>
Sun, 11 Jan 2015 21:27:57 +0000 (22:27 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 12 Jan 2015 10:03:27 +0000 (11:03 +0100)
Reported-by: Antonio Ceballos <aceballos@gmail.com>
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
disk-utils/partx.c

index c53800f8803c87316bdf4b5364f75c1ae07203a3..1ba531590cd39d89039898cbc410cf086f06b6de 100644 (file)
@@ -309,7 +309,7 @@ static int del_parts(int fd, const char *device, dev_t devno,
                        continue;
                } else if (errno == ENXIO) {
                        if (verbose)
-                               printf(_("%s: partition #%d already doesn't exist\n"), device, i);
+                               printf(_("%s: partition #%d doesn't exist\n"), device, i);
                        continue;
                }
                rc = -1;