From 7f455719eb619a34ce74cc08711bdabc4f129eaa Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Wed, 2 Sep 2015 17:51:21 +0200 Subject: Adds much needed verbose flags to the compiler and corrects the issues they pointed out. --- src/input.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/input.c') diff --git a/src/input.c b/src/input.c index 2cba397..c91e405 100644 --- a/src/input.c +++ b/src/input.c @@ -1,6 +1,7 @@ #include #include #include +#include #include @@ -90,7 +91,7 @@ int relabsd_input_open { _FATAL ( - "Could not open device %s in read only mode:", + "Could not open device '%s' in read only mode: %s.", conf->input_file, strerror(errno) ); @@ -105,7 +106,7 @@ int relabsd_input_open { _FATAL ( - "libevdev could not open %s:", + "libevdev could not open '%s': %s.", conf->input_file, strerror(errno) ); -- cgit v1.2.3-70-g09d2