diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2023-06-01 13:09:08 +0200 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2023-06-01 13:09:08 +0200 |
commit | 9f27a1b29d43795c925864e937c61314d144c0a9 (patch) | |
tree | 0c5288883bd48aed934ae88ed9c15086c57a7a1e /src/testing/testing_api_loop.c | |
parent | 811c040a28b4bbc9d1bdba3fd8458c2b1033983d (diff) | |
download | gnunet-9f27a1b29d43795c925864e937c61314d144c0a9.tar.gz gnunet-9f27a1b29d43795c925864e937c61314d144c0a9.zip |
ALL: Use <inttypes.h> to properly handle log format strings.
NEWS: -
Diffstat (limited to 'src/testing/testing_api_loop.c')
-rw-r--r-- | src/testing/testing_api_loop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testing/testing_api_loop.c b/src/testing/testing_api_loop.c index 3ff7d2957..f53e1ecdb 100644 --- a/src/testing/testing_api_loop.c +++ b/src/testing/testing_api_loop.c | |||
@@ -492,14 +492,14 @@ interpreter_run (void *cls) | |||
492 | "Running command `%s'\n", | 492 | "Running command `%s'\n", |
493 | cmd->label); | 493 | cmd->label); |
494 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 494 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
495 | "start time of %p expected 0 is `%lu'\n", | 495 | "start time of %p expected 0 is `%" PRIu64 "'\n", |
496 | cmd, | 496 | cmd, |
497 | cmd->start_time.abs_value_us); | 497 | cmd->start_time.abs_value_us); |
498 | cmd->start_time | 498 | cmd->start_time |
499 | = cmd->last_req_time | 499 | = cmd->last_req_time |
500 | = GNUNET_TIME_absolute_get (); | 500 | = GNUNET_TIME_absolute_get (); |
501 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 501 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
502 | "start time of %p expected something is `%lu'\n", | 502 | "start time of %p expected something is `%" PRIu64 "'\n", |
503 | cmd, | 503 | cmd, |
504 | cmd->start_time.abs_value_us); | 504 | cmd->start_time.abs_value_us); |
505 | cmd->num_tries = 1; | 505 | cmd->num_tries = 1; |