[OpenBIOS] [commit] r814 - trunk/openbios-devel/fs/hfs
repository service
svn at openbios.org
Sun Jul 4 12:56:05 CEST 2010
Author: mcayland
Date: Sun Jul 4 12:56:05 2010
New Revision: 814
URL: http://tracker.coreboot.org/trac/openbios/changeset/814
Log:
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 at siriusit.co.uk>
Modified:
trunk/openbios-devel/fs/hfs/hfs_fs.c
Modified: trunk/openbios-devel/fs/hfs/hfs_fs.c
==============================================================================
--- trunk/openbios-devel/fs/hfs/hfs_fs.c Sun Jul 4 12:18:03 2010 (r813)
+++ trunk/openbios-devel/fs/hfs/hfs_fs.c Sun Jul 4 12:56:05 2010 (r814)
@@ -392,10 +392,10 @@
}
ret = hfs_seek( common->file, offs, whence );
- if (ret)
- RET( -1 );
- else
+ if (ret != -1)
RET( 0 );
+ else
+ RET( -1 );
}
/* ( addr -- size ) */
More information about the OpenBIOS
mailing list