Fix: wrong type specifier used with long argument
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 18 May 2018 17:58:31 +0000 (13:58 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 18 May 2018 18:00:26 +0000 (14:00 -0400)
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 <jeremie.galarneau@efficios.com>
cli/babeltrace-cfg-cli-args.c

index bd1bcc530ed07d3c4b8fc9b167dffb4158a1bcb0..58739d26d51f8f850aeab06a60bbb29e15812f7d 100644 (file)
@@ -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;
                        }
This page took 0.025971 seconds and 4 git commands to generate.