From: Ben Gras Date: Fri, 5 Aug 2005 13:51:14 +0000 (+0000) Subject: .. X-Git-Tag: v3.1.0~426 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/migration-4to9?a=commitdiff_plain;h=0e794673712440997c9b783d3a0bf3dbd2c68eca;p=minix.git .. --- diff --git a/commands/ibm/autopart.c b/commands/ibm/autopart.c index eafc350d1..e85d5d386 100755 --- a/commands/ibm/autopart.c +++ b/commands/ibm/autopart.c @@ -2370,13 +2370,8 @@ select_region(void) if(nr_partitions >= NR_PARTITIONS || !free_regions) { if(free_regions) { - printf("\nThere is no slot available to use any of the free regions.\n"); nofree = 1; - } else { - printf("There are no free regions.\n"); } - printf("Please select a region that is in use to \n" - "overwrite it, or use expert mode to free up space.\n"); } do { @@ -2392,14 +2387,15 @@ select_region(void) if(nr_regions > 1) { printf("\nPlease enter region number you want to use"); if(used_regions > 0) { - printf(" or F to free an in-use region: "); + printf(" or F to free an in-use region"); } + printf(": "); fflush(NULL); if(!fgets(line, sizeof(line)-2, stdin)) exit(1); - if(line[0] == 'F') { + if(toupper(line[0]) == 'F') { may_kill_region(); return NULL; }