From cc9ef6a4724b577ee53c9569f4be5e8a6d14a38f Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 27 Dec 2013 16:21:07 +0100 Subject: display the real accessed /dev/input/eventX file (mga#8232) --- perl-install/c/stuff.xs.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/c') 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; } -- cgit v1.2.1