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/relabsd_device.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/relabsd_device.c') diff --git a/src/relabsd_device.c b/src/relabsd_device.c index eb4da8b..174f1eb 100644 --- a/src/relabsd_device.c +++ b/src/relabsd_device.c @@ -3,6 +3,8 @@ #include #include +#include + #include "error.h" #include "axis.h" #include "config.h" @@ -61,7 +63,7 @@ int relabsd_device_create { _FATAL ( - "Could not open device %s in read only mode:", + "Could not open device '%s' in read only mode: %s.", config->input_file, strerror(errno) ); @@ -73,7 +75,7 @@ int relabsd_device_create { _FATAL ( - "libevdev could not open %s:", + "libevdev could not open '%s': '%s'.", config->input_file, strerror(errno) ); -- cgit v1.2.3-70-g09d2