Skip to content

Commit

Permalink
leaking_addresses: Fix calls to dprint
Browse files Browse the repository at this point in the history
Currently calls to function dprint() are non uniform and at times
incorrect.

Use uniform _correct_ call to function dprint().

Signed-off-by: Tobin C. Harding <[email protected]>
  • Loading branch information
Tobin C. Harding committed Mar 6, 2019
1 parent 1c163f4 commit 0f29943
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/leaking_addresses.pl
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ sub get_kernel_config_option
my $tmp_file = "/tmp/tmpkconf";

if (system("gunzip < /proc/config.gz > $tmp_file")) {
dprint "$0: system(gunzip < /proc/config.gz) failed\n";
dprint("system(gunzip < /proc/config.gz) failed\n");
return "";
} else {
@config_files = ($tmp_file);
Expand All @@ -243,7 +243,7 @@ sub get_kernel_config_option
}

foreach my $file (@config_files) {
dprint("parsing config file: %s\n", $file);
dprint("parsing config file: $file\n");
$value = option_from_file($option, $file);
if ($value ne "") {
last;
Expand Down Expand Up @@ -502,7 +502,7 @@ sub walk
next;
}

dprint "parsing: $path\n";
dprint("parsing: $path\n");
timed_parse_file($path);
}
}
Expand Down

0 comments on commit 0f29943

Please sign in to comment.