diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2009-01-02 12:36:46 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2009-01-02 12:36:46 -0500 |
commit | 6aa673d53c580d90b09830db83a6b6778c020d9b (patch) | |
tree | f1eb87723250622e391a6823b84591aba4a103f9 /src/disk.c | |
parent | a83ff550b4cbf0b1bc35f493c8715a69a9e28b7e (diff) | |
download | seabios-hppa-6aa673d53c580d90b09830db83a6b6778c020d9b.zip seabios-hppa-6aa673d53c580d90b09830db83a6b6778c020d9b.tar.gz seabios-hppa-6aa673d53c580d90b09830db83a6b6778c020d9b.tar.bz2 |
Fix bug in basic_access error path.
A missing 'return' statement caused the error to not be returned.
Diffstat (limited to 'src/disk.c')
-rw-r--r-- | src/disk.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -139,6 +139,7 @@ basic_access(struct bregs *regs, u8 device, u16 command) dprintf(1, "int13_harddisk: function %02x, error %d!\n" , regs->ah, status); disk_ret(regs, DISK_RET_EBADTRACK); + return; } disk_ret(regs, DISK_RET_SUCCESS); } |