From 26098718801e099f4f8ccb0d6c5f88c52222fe76 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Wed, 24 Aug 2005 16:56:34 +0000 Subject: [PATCH] Don't print disk number, we don't know it --- commands/ibm/autopart.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 { -- 2.44.0