mac80211: correct legacy rates check in ieee80211_calc_rx_airtime
[platform/kernel/linux-rpi.git] / scripts / leaking_addresses.pl
index b2d8b8a..8f636a2 100755 (executable)
@@ -455,8 +455,9 @@ sub parse_file
 
        open my $fh, "<", $file or return;
        while ( <$fh> ) {
+               chomp;
                if (may_leak_address($_)) {
-                       print $file . ': ' . $_;
+                       printf("$file: $_\n");
                }
        }
        close $fh;