| summaryrefslogtreecommitdiff |
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2015-09-02 17:51:21 +0200 |
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2015-09-02 17:51:21 +0200 |
| commit | 7f455719eb619a34ce74cc08711bdabc4f129eaa (patch) | |
| tree | b22fc4ae20fded60ebb04bb64d11dc71a0b43f76 /src/relabsd_device.c | |
| parent | f3d9a8e93134574c50dfea2147628468d6770f04 (diff) | |
Adds much needed verbose flags to the compiler and corrects the issues they pointed out.
Diffstat (limited to 'src/relabsd_device.c')
| -rw-r--r-- | src/relabsd_device.c | 6 |
1 files changed, 4 insertions, 2 deletions
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 <unistd.h> #include <fcntl.h> +#include <libevdev/libevdev-uinput.h> + #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) ); |


