summaryrefslogtreecommitdiff
path: root/sys/arch/luna88k/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-01-31 06:41:28 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-01-31 06:41:28 +0000
commit526b8087ad3d898dedf6c505700fe995b2548c64 (patch)
tree0e2100c6fbc3024a3434a06359e003195e877e10 /sys/arch/luna88k/dev
parentbaef74a15fee572cc1374f95668707823a009fb4 (diff)
Be sure to always return an error for unrecognized ioctls. Found by matthieu@
Diffstat (limited to 'sys/arch/luna88k/dev')
-rw-r--r--sys/arch/luna88k/dev/lunafb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/luna88k/dev/lunafb.c b/sys/arch/luna88k/dev/lunafb.c
index 036977ad527..d5f2a8afa1d 100644
--- a/sys/arch/luna88k/dev/lunafb.c
+++ b/sys/arch/luna88k/dev/lunafb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lunafb.c,v 1.4 2005/01/05 23:04:24 miod Exp $ */
+/* $OpenBSD: lunafb.c,v 1.5 2005/01/31 06:41:27 miod Exp $ */
/* $NetBSD: lunafb.c,v 1.7.6.1 2002/08/07 01:48:34 lukem Exp $ */
/*-
@@ -272,6 +272,7 @@ omfbioctl(v, cmd, data, flag, p)
case WSDISPLAYIO_GCURMAX:
case WSDISPLAYIO_GCURSOR:
case WSDISPLAYIO_SCURSOR:
+ default:
return (-1);
}