mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Fix incorrect interpretation of HFS seek function result code which was causing FC12 to fail during second-stage boot.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@814 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
committed by
Mark Cave-Ayland
parent
40ed0faad9
commit
ec930b7f72
@@ -392,10 +392,10 @@ hfs_files_seek( hfs_info_t *mi )
|
||||
}
|
||||
|
||||
ret = hfs_seek( common->file, offs, whence );
|
||||
if (ret)
|
||||
RET( -1 );
|
||||
else
|
||||
if (ret != -1)
|
||||
RET( 0 );
|
||||
else
|
||||
RET( -1 );
|
||||
}
|
||||
|
||||
/* ( addr -- size ) */
|
||||
|
||||
Reference in New Issue
Block a user