fdisk: improve error message for missing extended partition

Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
This commit is contained in:
Francesco Cosoleto 2011-04-28 23:39:30 +02:00 committed by Karel Zak
parent f01c41e5ff
commit 63c3e98f21
1 changed files with 2 additions and 2 deletions

View File

@ -2525,8 +2525,8 @@ new_partition(void) {
if (extended_offset)
add_logical();
else
printf(_("You must delete some partition and add "
"an extended partition first\n"));
printf(_("If you want to create more than four partitions, you must replace a\n"
"primary partition with an extended partition first.\n"));
} else if (partitions >= MAXIMUM_PARTS) {
printf(_("All logical partitions are in use\n"));
printf(_("Adding a primary partition\n"));