diff options
author | Emmanuel Vasilakis <mrzammler@mm.st> | 2022-10-25 17:24:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-25 17:24:07 +0300 |
commit | bf1cb6048ba63438d0173f86d62ee4106bdcece6 (patch) | |
tree | a0bbb737fbf0e9d9d21e272b938c47aface2850f /libnetdata/dictionary | |
parent | cd9cdbe01d7e29d463d9ea621db959839f85db0b (diff) |
Use print macros (#13876)
* use print macros
* cast instead
Diffstat (limited to 'libnetdata/dictionary')
-rw-r--r-- | libnetdata/dictionary/dictionary.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libnetdata/dictionary/dictionary.c b/libnetdata/dictionary/dictionary.c index 663750a242..e362acdd8b 100644 --- a/libnetdata/dictionary/dictionary.c +++ b/libnetdata/dictionary/dictionary.c @@ -2913,9 +2913,9 @@ static int dictionary_unittest_threads() { int threads_to_create = 2; fprintf( stderr, - "\nChecking dictionary concurrency with %d threads for %ld seconds...\n", + "\nChecking dictionary concurrency with %d threads for %lld seconds...\n", threads_to_create, - seconds_to_run); + (long long)seconds_to_run); netdata_thread_t threads[threads_to_create]; tu.join = 0; @@ -3068,8 +3068,8 @@ static int dictionary_unittest_view_threads() { time_t seconds_to_run = 5; fprintf( stderr, - "\nChecking dictionary concurrency with 1 master and 1 view threads for %ld seconds...\n", - seconds_to_run); + "\nChecking dictionary concurrency with 1 master and 1 view threads for %lld seconds...\n", + (long long)seconds_to_run); netdata_thread_t master_thread, view_thread; tv.join = 0; |