From 40b4fee74be13d3941e80f1d1161e009f0e59392 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Wed, 31 Mar 2021 15:02:58 -0400 Subject: [PATCH] Clean-up: lttng-crash: prepend `the_` to input_path global variable MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit ... to avoid clashing with a function parameter name. Change-Id: I96ca04576b4cc18adff7e5e19483d4fb74a7c669 Signed-off-by: Simon Marchi Signed-off-by: Jérémie Galarneau --- src/bin/lttng-crash/lttng-crash.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/lttng-crash/lttng-crash.c b/src/bin/lttng-crash/lttng-crash.c index 7f1f52803..a4b6a93f8 100644 --- a/src/bin/lttng-crash/lttng-crash.c +++ b/src/bin/lttng-crash/lttng-crash.c @@ -183,7 +183,7 @@ static const char *progname; static char *opt_viewer_path = NULL; static char *opt_output_path = NULL; -static char *input_path; +static char *the_input_path; int lttng_opt_quiet, lttng_opt_verbose, lttng_opt_mi; @@ -300,7 +300,7 @@ static int parse_args(int argc, char **argv) goto error; } - input_path = argv[optind]; + the_input_path = argv[optind]; end: return ret; @@ -1244,7 +1244,7 @@ int main(int argc, char *argv[]) } } - ret = extract_trace_recursive(output_path, input_path); + ret = extract_trace_recursive(output_path, the_input_path); if (ret < 0) { has_warning = true; goto end; -- 2.34.1