]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tests/badsymbols.pl: when opening '$incdir' fails include it in the error message
authorFabian Keil <fk@fabiankeil.de>
Fri, 28 Feb 2020 09:46:22 +0000 (10:46 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 9 Feb 2021 07:16:40 +0000 (08:16 +0100)
tests/badsymbols.pl

index d9766cad71bbb1ff84a2877dc3b6140abbadc441..2ef803aafc1573ad5089bd04581c564ee8103b4d 100755 (executable)
@@ -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;