From: Jérémie Galarneau Date: Fri, 18 May 2018 17:58:31 +0000 (-0400) Subject: Fix: wrong type specifier used with long argument X-Git-Tag: v2.0.0-pre5~346 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=b25dc5ae14cf188f742ad3218151f72460c633eb Fix: wrong type specifier used with long argument 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 --- 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; }