summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2016-10-21 08:48:13 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2016-10-25 08:05:03 +1000
commit21c0a24a4a0e779ad14e92da19a6babd514ee03a (patch)
treefd8607f1452668f444364a645193cde3f4445f2b
parentdf49760f5f9cbfe2418011f56b0c9bae5dc38345 (diff)
Upgrade a warning to a fatal error
It's already a fatal error, print it that way. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Daniel Martin <consume.noise@gmail.com>
-rw-r--r--src/evemu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evemu.c b/src/evemu.c
index 295b5d6..1f4444e 100644
--- a/src/evemu.c
+++ b/src/evemu.c
@@ -511,7 +511,7 @@ static int parse_mask(struct evemu_device *dev, const char *line)
mask + 4, mask + 5, mask + 6, mask + 7);
if (matched != 9) {
- error(WARNING, "Invalid EV_BIT line. Parsed %d numbers, expected 9: %s", matched, line);
+ error(FATAL, "Invalid EV_BIT line. Parsed %d numbers, expected 9: %s", matched, line);
return -1;
}