summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-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;
}