]> Zhao Yanbai Git Server - minix.git/commitdiff
Don't print disk number, we don't know it
authorBen Gras <ben@minix3.org>
Wed, 24 Aug 2005 16:56:34 +0000 (16:56 +0000)
committerBen Gras <ben@minix3.org>
Wed, 24 Aug 2005 16:56:34 +0000 (16:56 +0000)
commands/ibm/autopart.c

index 70126dba7a34a0bc31a006c1db31878eb8bd80b9..a16957d46d185f8fc65f58ab71c147c626e32783 100755 (executable)
@@ -2464,6 +2464,8 @@ select_disk(void)
                curdev=firstdev;
 
                for(; i < MAX_DEVICES;) {
+                       printf("."); 
+                       fflush(stdout);
                        m_read('r', NULL);
                        if(device >= 0) {
                                devices[i].dev = curdev;
@@ -2651,10 +2653,11 @@ do_autopart(int resultfd)
                printstep(3, "Confirm your choices");
 
                region =  (int)(r-regions); 
-               disk = (int) (curdev-firstdev);
+               /* disk = (int) (curdev-devices); */
 
                printf("\nThis is the point of no return.  You have selected to install MINIX 3\n");
-               printf("into region %d of disk %d (%s).  Please confirm that you want\n", region, disk, devices[disk].dev->name);
+               printf("into region %d of disk %s.  Please confirm that you want\n",
+                       region, curdev->name);
                printf("to use this selection to install MINIX 3.\n\n");
 
                do {