From e11e5b2d4604df89a5be9495ac5fb6187a70d1de Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 28 Feb 2020 10:46:22 +0100 Subject: [PATCH] tests/badsymbols.pl: when opening '$incdir' fails include it in the error message --- tests/badsymbols.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/badsymbols.pl b/tests/badsymbols.pl index d9766cad7..2ef803aaf 100755 --- a/tests/badsymbols.pl +++ b/tests/badsymbols.pl @@ -132,7 +132,7 @@ sub scanheader { } -opendir(my $dh, $incdir) || die "Can't opendir: $!"; +opendir(my $dh, $incdir) || die "Can't opendir $incdir: $!"; my @hfiles = grep { /\.h$/ } readdir($dh); closedir $dh;