]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fdisk: fix "invalid partition number for type" error message
authorFrancesco Cosoleto <cosoleto@gmail.com>
Thu, 28 Apr 2011 21:39:29 +0000 (23:39 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 3 May 2011 10:59:01 +0000 (12:59 +0200)
You can't input a partition number here.

Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
fdisk/fdisk.c

index f0f806143e276790a88e748f60067913d7a28995..7a80db1ed7101d09953a29b2dd1834f26e5c14e4 100644 (file)
@@ -2555,8 +2555,7 @@ new_partition(void) {
                                return;
                        }
                        else
-                               printf(_("Invalid partition number "
-                                        "for type `%c'\n"), c);
+                               printf(_("Invalid partition type `%c'\n"), c);
                }
        }
 }