summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/kernel/arch/i386/ata.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/arch/i386/ata.c b/src/kernel/arch/i386/ata.c
index 916b918..60dbb15 100644
--- a/src/kernel/arch/i386/ata.c
+++ b/src/kernel/arch/i386/ata.c
@@ -71,10 +71,10 @@ static void ata_detecttype(int drive) {
break;
case 0x14:
ata_drives[drive].type = DEV_PATAPI;
- return true;
+ break;
default:
ata_drives[drive].type = DEV_UNKNOWN;
- return false;
+ break;
}
}