From: Alan Cox Date: Sun, 25 Jan 2015 20:43:56 +0000 (+0000) Subject: zx128: fix silly bug with !IDE X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=5a5c930a063899968c6f3c710bcd538a01d184ad;p=FUZIX.git zx128: fix silly bug with !IDE --- diff --git a/Kernel/platform-zx128/devices.c b/Kernel/platform-zx128/devices.c index faa08211..54ea82b4 100644 --- a/Kernel/platform-zx128/devices.c +++ b/Kernel/platform-zx128/devices.c @@ -15,7 +15,7 @@ struct devsw dev_tab[] = /* The device driver switch table */ /* 1: /dev/hd Hard disc block devices */ { devide_open, no_close, devide_read, devide_write, no_ioctl }, #else - { no_open, no_close, no_read, no_write, no_ioctl }, + { no_open, no_close, no_rdwr, no_rdwr, no_ioctl }, #endif /* 2: /dev/tty TTY devices */ { tty_open, tty_close, tty_read, tty_write, vt_ioctl },