From: Brett Gordon Date: Wed, 7 Oct 2015 18:37:05 +0000 (-0400) Subject: coco3: tty: correct ioctl error return X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=96625ab93735bc045359fcf27215f76a500feff2;p=FUZIX.git coco3: tty: correct ioctl error return --- diff --git a/Kernel/platform-coco3/devtty.c b/Kernel/platform-coco3/devtty.c index 6fa56a44..c30f3357 100644 --- a/Kernel/platform-coco3/devtty.c +++ b/Kernel/platform-coco3/devtty.c @@ -514,7 +514,7 @@ int gfx_ioctl(uint8_t minor, uarg_t arg, char *ptr) if( minor == curminor ) apply_gime( minor ); return 0; } - error: udata.u_error = ENOTTY; + error: udata.u_error = EINVAL; return -1; }