[PATCH 07/27] lib: fwts_log_scan: rename function argument to avoid name shadowing
Colin King
colin.king at canonical.com
Wed Aug 15 13:11:09 UTC 2018
From: Colin Ian King <colin.king at canonical.com>
The argument fwts_log_scan_patterns to function fwts_log_check is
shadowing the global function of the same name. Rename the function
argument to avoid name shadowing confusion.
Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
src/lib/src/fwts_log_scan.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lib/src/fwts_log_scan.c b/src/lib/src/fwts_log_scan.c
index 9a2f0f95..2a2460e2 100644
--- a/src/lib/src/fwts_log_scan.c
+++ b/src/lib/src/fwts_log_scan.c
@@ -349,7 +349,7 @@ nullobj:
int fwts_log_check(fwts_framework *fw,
const char *table,
- fwts_log_scan_func fwts_log_scan_patterns,
+ fwts_log_scan_func fwts_log_scan_patterns_func,
fwts_log_progress_func progress,
fwts_list *log,
int *errors,
@@ -450,7 +450,7 @@ int fwts_log_check(fwts_framework *fw,
}
}
/* We've now collected up the scan patterns, lets scan the log for errors */
- ret = fwts_log_scan(fw, log, fwts_log_scan_patterns, progress, patterns, errors, remove_timestamp);
+ ret = fwts_log_scan(fw, log, fwts_log_scan_patterns_func, progress, patterns, errors, remove_timestamp);
fail:
for (i = 0; i < n; i++) {
--
2.17.1
More information about the fwts-devel
mailing list