PCem
changeset 24:4661055656f1
Unconfigured IDE discs now no longer respond to commands.
| author | TomW |
|---|---|
| date | Sat Oct 19 20:43:51 2013 +0100 |
| parents | 1b2b9acf61eb |
| children | 1d785579b814 |
| files | src/ide.c |
| diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line diff
1.1 --- a/src/ide.c Sat Oct 19 20:30:52 2013 +0100 1.2 +++ b/src/ide.c Sat Oct 19 20:43:51 2013 +0100 1.3 @@ -516,12 +516,14 @@ 1.4 ide->type = IDE_NONE; 1.5 /* fatal("Cannot create file '%s': %s", 1.6 fn, strerror(errno));*/ 1.7 + return; 1.8 } 1.9 } else { 1.10 /* Failed for another reason */ 1.11 ide->type = IDE_NONE; 1.12 /* fatal("Cannot open file '%s': %s", 1.13 fn, strerror(errno));*/ 1.14 + return; 1.15 } 1.16 } 1.17 }
