From b25dc5ae14cf188f742ad3218151f72460c633eb Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Fri, 18 May 2018 13:58:31 -0400 Subject: [PATCH] Fix: wrong type specifier used with long argument MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit clang reports "format specifies type 'long long' but the argument has type 'long' [-Wformat]" which is correct. retry_duration has changed types from long long to long in the previous commit. Signed-off-by: Jérémie Galarneau --- cli/babeltrace-cfg-cli-args.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/babeltrace-cfg-cli-args.c b/cli/babeltrace-cfg-cli-args.c index bd1bcc53..58739d26 100644 --- a/cli/babeltrace-cfg-cli-args.c +++ b/cli/babeltrace-cfg-cli-args.c @@ -2604,7 +2604,7 @@ struct bt_config *bt_config_run_from_args(int argc, const char *argv[], break; case OPT_RETRY_DURATION: if (retry_duration < 0) { - printf_err("--retry-duration option's argument must be positive or 0: %lld\n", + printf_err("--retry-duration option's argument must be positive or 0: %ld\n", retry_duration); goto error; } -- 2.34.1