From 5a5c930a063899968c6f3c710bcd538a01d184ad Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sun, 25 Jan 2015 20:43:56 +0000 Subject: [PATCH] zx128: fix silly bug with !IDE --- Kernel/platform-zx128/devices.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }, -- 2.34.1