| 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/input.c | |
| parent | f3d9a8e93134574c50dfea2147628468d6770f04 (diff) | |
Adds much needed verbose flags to the compiler and corrects the issues they pointed out.
Diffstat (limited to 'src/input.c')
| -rw-r--r-- | src/input.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 <fcntl.h> #include <errno.h> #include <string.h> +#include <unistd.h> #include <libevdev/libevdev.h> @@ -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) ); |


