Use 3 argument open to avoid any issues with parsing
and silence perlcritic.

Signed-off-by: Stephen Hemminger <step...@networkplumber.org>

--- a/scripts/get_maintainer.pl 2014-05-26 12:47:35.039720690 -0700
+++ b/scripts/get_maintainer.pl 2014-05-26 13:27:52.000000000 -0700
@@ -426,7 +426,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";
 
        # We can check arbitrary information before the patch

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to