summaryrefslogtreecommitdiffstats
path: root/perl-install/c/stuff.xs.pl
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-12-27 16:21:07 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-12-27 16:21:07 +0100
commitcc9ef6a4724b577ee53c9569f4be5e8a6d14a38f (patch)
tree4f4c5c896e455c4839095eaabc81f2cc8ff6cab3 /perl-install/c/stuff.xs.pl
parent1fb5b7c677cb1df99f5dfde913fb25c21b95a9f0 (diff)
downloaddrakx-cc9ef6a4724b577ee53c9569f4be5e8a6d14a38f.tar
drakx-cc9ef6a4724b577ee53c9569f4be5e8a6d14a38f.tar.gz
drakx-cc9ef6a4724b577ee53c9569f4be5e8a6d14a38f.tar.bz2
drakx-cc9ef6a4724b577ee53c9569f4be5e8a6d14a38f.tar.xz
drakx-cc9ef6a4724b577ee53c9569f4be5e8a6d14a38f.zip
display the real accessed /dev/input/eventX file (mga#8232)
Diffstat (limited to 'perl-install/c/stuff.xs.pl')
-rwxr-xr-xperl-install/c/stuff.xs.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/c/stuff.xs.pl b/perl-install/c/stuff.xs.pl
index 7ef772975..ee5984c4f 100755
--- a/perl-install/c/stuff.xs.pl
+++ b/perl-install/c/stuff.xs.pl
@@ -525,7 +525,7 @@ EVIocGBitKey (char *file)
fd = open (file, O_RDONLY);
if (fd < 0) {
- perror("Cannot open /dev/input/eventX");
+ warn("Cannot open %s: %s\n", file, strerror(errno));
return;
}