diff --git a/elks/arch/i86/drivers/block/directfd.c b/elks/arch/i86/drivers/block/directfd.c index cbd6be5de..ae8ae729b 100644 --- a/elks/arch/i86/drivers/block/directfd.c +++ b/elks/arch/i86/drivers/block/directfd.c @@ -774,7 +774,7 @@ static void DFPROC setup_rw_floppy(void) { DEBUG("setup_rw-"); #if IODELAY - int num_sectors = read_track? floppy->sect + (floppy->sect & 1 && !head); + int num_sectors = read_track? floppy->sect + (floppy->sect & 1 && !head) : CURRENT->rq_nr_sectors; DEBUG("[%ur%u]", current_drive, num_sectors); static unsigned lasttrack; diff --git a/image/Make.image b/image/Make.image index f16a957bd..72f3595fa 100644 --- a/image/Make.image +++ b/image/Make.image @@ -78,7 +78,7 @@ endif minixfs: rm -f $(TARGET_FILE) mfs $(VERBOSE) $(TARGET_FILE) mkfs $(MINIX_MKFSOPTS) - mfs -v $(VERBOSE) $(TARGET_FILE) addfs Image.all $(DESTDIR) +# mfs -v $(VERBOSE) $(TARGET_FILE) addfs Image.all $(DESTDIR) # rm -f Filelist # for f in $$(cd $(DESTDIR); find * -name '*'); do \ # echo $$f >> FileList; \