Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/amiga/dev ms_wscons_ioctl(): Return EPASSTHROUGH in...



details:   https://anonhg.NetBSD.org/src/rev/a4833396b738
branches:  trunk
changeset: 368739:a4833396b738
user:      rin <rin%NetBSD.org@localhost>
date:      Mon Aug 01 01:32:15 2022 +0000

description:
ms_wscons_ioctl(): Return EPASSTHROUGH instead of -1, for unsupported
ioctl, as done for other backends of wsmouse(4).

diffstat:

 sys/arch/amiga/dev/ms.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ca98aff6314e -r a4833396b738 sys/arch/amiga/dev/ms.c
--- a/sys/arch/amiga/dev/ms.c   Sun Jul 31 17:11:41 2022 +0000
+++ b/sys/arch/amiga/dev/ms.c   Mon Aug 01 01:32:15 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ms.c,v 1.42 2021/08/07 16:18:41 thorpej Exp $ */
+/*     $NetBSD: ms.c,v 1.43 2022/08/01 01:32:15 rin Exp $ */
 
 /*
  * based on:
@@ -45,7 +45,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ms.c,v 1.42 2021/08/07 16:18:41 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ms.c,v 1.43 2022/08/01 01:32:15 rin Exp $");
 
 /*
  * Mouse driver.
@@ -554,7 +554,7 @@
                return (0);
        }
 
-       return -1;
+       return EPASSTHROUGH;
 }
 
 static int



Home | Main Index | Thread Index | Old Index