From: Ben Gras Date: Wed, 24 Aug 2005 16:56:34 +0000 (+0000) Subject: Don't print disk number, we don't know it X-Git-Tag: v3.1.0~291 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/addsub.png?a=commitdiff_plain;h=26098718801e099f4f8ccb0d6c5f88c52222fe76;p=minix.git Don't print disk number, we don't know it --- diff --git a/commands/ibm/autopart.c b/commands/ibm/autopart.c index 70126dba7..a16957d46 100755 --- a/commands/ibm/autopart.c +++ b/commands/ibm/autopart.c @@ -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 {