diff --git a/ChangeLog b/ChangeLog index 0527f77f4..a3d7615e4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1999-06-24 OKUJI Yoshinori + + * stage1/stage1.S: Call testb instead of andb when checking if + the drive is a floppy. + 1999-06-23 OKUJI Yoshinori * grub/asmstub.c [__linux__]: Include linux/fs.h for BLKFLSBUF. diff --git a/stage1/stage1.S b/stage1/stage1.S index 637768c84..b1fe1aeda 100644 --- a/stage1/stage1.S +++ b/stage1/stage1.S @@ -123,7 +123,7 @@ after_BPB: /* * The call failed, so maybe use the floppy probe instead. */ - andb $BIOS_HD_FLAG, %dl + testb $BIOS_HD_FLAG, %dl jz floppy_probe /* Nope, we definitely have a hard disk, and we're screwed. */