]> Zhao Yanbai Git Server - minix.git/commitdiff
..
authorBen Gras <ben@minix3.org>
Fri, 5 Aug 2005 13:51:14 +0000 (13:51 +0000)
committerBen Gras <ben@minix3.org>
Fri, 5 Aug 2005 13:51:14 +0000 (13:51 +0000)
commands/ibm/autopart.c

index eafc350d1ab22c6cb50cd3f8f1882790476d49bf..e85d5d38631d5126b18e1cc8d21b493902059b84 100755 (executable)
@@ -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;
                        }