diff options
| author | Tobin C. Harding <tobin@kernel.org> | 2018-10-22 19:51:08 -0400 |
|---|---|---|
| committer | Tobin C. Harding <tobin@kernel.org> | 2019-03-06 16:53:18 -0500 |
| commit | 0f2994333315f004265571eab787474b73d72ed6 (patch) | |
| tree | 31a63adafb806962d0fd0c8cc5fd13408477eb06 /scripts | |
| parent | 1c163f4c7b3f621efff9b28a47abb36f7378d783 (diff) | |
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>
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/leaking_addresses.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/leaking_addresses.pl b/scripts/leaking_addresses.pl index 6a897788f5a7..214c12be8c86 100755 --- a/scripts/leaking_addresses.pl +++ b/scripts/leaking_addresses.pl | |||
| @@ -231,7 +231,7 @@ sub get_kernel_config_option | |||
| 231 | my $tmp_file = "/tmp/tmpkconf"; | 231 | my $tmp_file = "/tmp/tmpkconf"; |
| 232 | 232 | ||
| 233 | if (system("gunzip < /proc/config.gz > $tmp_file")) { | 233 | if (system("gunzip < /proc/config.gz > $tmp_file")) { |
| 234 | dprint "$0: system(gunzip < /proc/config.gz) failed\n"; | 234 | dprint("system(gunzip < /proc/config.gz) failed\n"); |
| 235 | return ""; | 235 | return ""; |
| 236 | } else { | 236 | } else { |
| 237 | @config_files = ($tmp_file); | 237 | @config_files = ($tmp_file); |
| @@ -243,7 +243,7 @@ sub get_kernel_config_option | |||
| 243 | } | 243 | } |
| 244 | 244 | ||
| 245 | foreach my $file (@config_files) { | 245 | foreach my $file (@config_files) { |
| 246 | dprint("parsing config file: %s\n", $file); | 246 | dprint("parsing config file: $file\n"); |
| 247 | $value = option_from_file($option, $file); | 247 | $value = option_from_file($option, $file); |
| 248 | if ($value ne "") { | 248 | if ($value ne "") { |
| 249 | last; | 249 | last; |
| @@ -502,7 +502,7 @@ sub walk | |||
| 502 | next; | 502 | next; |
| 503 | } | 503 | } |
| 504 | 504 | ||
| 505 | dprint "parsing: $path\n"; | 505 | dprint("parsing: $path\n"); |
| 506 | timed_parse_file($path); | 506 | timed_parse_file($path); |
| 507 | } | 507 | } |
| 508 | } | 508 | } |
