From: Alan Cox Date: Sat, 22 Apr 2017 18:07:35 +0000 (+0100) Subject: trs80: correct devhd return value X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=2e7469f42aba714aa98d37de6176f440f508e6d4;p=FUZIX.git trs80: correct devhd return value --- diff --git a/Kernel/platform-trs80/devhd.c b/Kernel/platform-trs80/devhd.c index a1948108..81381c7b 100644 --- a/Kernel/platform-trs80/devhd.c +++ b/Kernel/platform-trs80/devhd.c @@ -141,7 +141,7 @@ int hd_transfer(uint8_t minor, bool is_read, uint8_t rawflag) } } } - return 1; + return ct << 8; bad: if (err & 1) kprintf("hd%d: error %x\n", minor, hd_err);