summaryrefslogtreecommitdiffstats
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
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)
-rw-r--r--perl-install/NEWS1
-rwxr-xr-xperl-install/c/stuff.xs.pl2
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index fee6909ff..418d98cc9 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,4 @@
+- display the real accessed /dev/input/eventX file (mga#8232)
- draksec:
o use expanders for clarity
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;
}