summaryrefslogtreecommitdiff
path: root/src/void.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/void.c')
-rw-r--r--src/void.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/void.c b/src/void.c
index 0184893..b1225d6 100644
--- a/src/void.c
+++ b/src/void.c
@@ -171,6 +171,9 @@ xf86VoidControlProc(DeviceIntPtr device, int what)
case DEVICE_CLOSE:
device->public.on = FALSE;
break;
+
+ default:
+ return BadValue;
}
return Success;
}