From 2e7469f42aba714aa98d37de6176f440f508e6d4 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 22 Apr 2017 19:07:35 +0100 Subject: [PATCH] trs80: correct devhd return value --- Kernel/platform-trs80/devhd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.34.1