summaryrefslogtreecommitdiffstats
path: root/perl-install/c/stuff.xs.pl
diff options
context:
space:
mode:
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;
}