mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 13:51:44 +00:00
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: Tobin C. Harding <tobin@kernel.org>
This commit is contained in:
parent
1c163f4c7b
commit
0f29943333
@ -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);
|
||||
@ -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;
|
||||
@ -502,7 +502,7 @@ sub walk
|
||||
next;
|
||||
}
|
||||
|
||||
dprint "parsing: $path\n";
|
||||
dprint("parsing: $path\n");
|
||||
timed_parse_file($path);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user