[PATCH evemu 4/5] Upgrade a fatal error to a fatal error

Peter Hutterer peter.hutterer at who-t.net
Thu Oct 20 23:11:14 UTC 2016


Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 src/evemu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
 	}
 
-- 
2.9.3



More information about the Input-tools mailing list