Commit 0f299433 authored by Tobin C. Harding's avatar Tobin C. Harding

leaking_addresses: Fix calls to dprint

Currently calls to function dprint() are non uniform and at times
incorrect.

Use uniform _correct_ call to function dprint().
Signed-off-by: default avatarTobin C. Harding <tobin@kernel.org>
parent 1c163f4c
...@@ -231,7 +231,7 @@ sub get_kernel_config_option ...@@ -231,7 +231,7 @@ sub get_kernel_config_option
my $tmp_file = "/tmp/tmpkconf"; my $tmp_file = "/tmp/tmpkconf";
if (system("gunzip < /proc/config.gz > $tmp_file")) { 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 ""; return "";
} else { } else {
@config_files = ($tmp_file); @config_files = ($tmp_file);
...@@ -243,7 +243,7 @@ sub get_kernel_config_option ...@@ -243,7 +243,7 @@ sub get_kernel_config_option
} }
foreach my $file (@config_files) { foreach my $file (@config_files) {
dprint("parsing config file: %s\n", $file); dprint("parsing config file: $file\n");
$value = option_from_file($option, $file); $value = option_from_file($option, $file);
if ($value ne "") { if ($value ne "") {
last; last;
...@@ -502,7 +502,7 @@ sub walk ...@@ -502,7 +502,7 @@ sub walk
next; next;
} }
dprint "parsing: $path\n"; dprint("parsing: $path\n");
timed_parse_file($path); timed_parse_file($path);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment