summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/evdev.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/evdev.c b/src/evdev.c
index 5a38f97..917602a 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -1442,6 +1442,9 @@ EvdevProc(DeviceIntPtr device, int what)
EvdevRemoveDevice(pInfo);
pEvdev->min_maj = 0;
break;
+
+ default:
+ return BadValue;
}
return Success;