From 21c0a24a4a0e779ad14e92da19a6babd514ee03a Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 21 Oct 2016 08:48:13 +1000 Subject: Upgrade a warning to a fatal error It's already a fatal error, print it that way. Signed-off-by: Peter Hutterer Reviewed-by: Daniel Martin --- 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; } -- cgit v1.2.3