[PATCH 2/3] fdisk: fix "invalid partition number for type" error message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You can't input a partition number here.

Signed-off-by: Francesco Cosoleto <cosoleto@xxxxxxxxx>
---
 fdisk/fdisk.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/fdisk/fdisk.c b/fdisk/fdisk.c
index 55e2ac9..d87fced 100644
--- a/fdisk/fdisk.c
+++ b/fdisk/fdisk.c
@@ -2558,8 +2558,7 @@ new_partition(void) {
 				return;
 			}
 			else
-				printf(_("Invalid partition number "
-					 "for type `%c'\n"), c);
+				printf(_("Invalid partition type `%c'\n"), c);
 		}
 	}
 }
-- 
1.7.3.4

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux