summaryrefslogtreecommitdiffstats
path: root/libnetdata/string
diff options
context:
space:
mode:
authorEmmanuel Vasilakis <mrzammler@mm.st>2022-10-25 17:24:07 +0300
committerGitHub <noreply@github.com>2022-10-25 17:24:07 +0300
commitbf1cb6048ba63438d0173f86d62ee4106bdcece6 (patch)
treea0bbb737fbf0e9d9d21e272b938c47aface2850f /libnetdata/string
parentcd9cdbe01d7e29d463d9ea621db959839f85db0b (diff)
Use print macros (#13876)
* use print macros * cast instead
Diffstat (limited to 'libnetdata/string')
-rw-r--r--libnetdata/string/string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetdata/string/string.c b/libnetdata/string/string.c
index c3aac42345..a3f74b4ef4 100644
--- a/libnetdata/string/string.c
+++ b/libnetdata/string/string.c
@@ -545,9 +545,9 @@ int string_unittest(size_t entries) {
int threads_to_create = 2;
fprintf(
stderr,
- "Checking string concurrency with %d threads for %ld seconds...\n",
+ "Checking string concurrency with %d threads for %lld seconds...\n",
threads_to_create,
- seconds_to_run);
+ (long long)seconds_to_run);
// check string concurrency
netdata_thread_t threads[threads_to_create];
tu.join = 0;