X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=scripts%2Fget_maintainer.pl;h=6f97a13bcee4131aedbbf97a4f9db49c50e519e5;hb=6b6962f9c489ecfa43ae27eb798c46717e203322;hp=f76f3d13276dd114c880e13ec45cad7452f992b9;hpb=441f4058a04b2943685ff94e0f5f1992b0b3649e;p=firefly-linux-kernel-4.4.55.git diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl index f76f3d13276d..6f97a13bcee4 100755 --- a/scripts/get_maintainer.pl +++ b/scripts/get_maintainer.pl @@ -284,7 +284,7 @@ foreach my $file (@ARGV) { my $file_cnt = @files; my $lastfile; - open(my $patch, '<', $file) + open(my $patch, "< $file") or die "$P: Can't open $file: $!\n"; while (<$patch>) { my $patch_line = $_;