Skip to content

Commit

Permalink
reload: added appropriate type cast (CID 508209)
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Alminana <[email protected]>
  • Loading branch information
leonardo-albertovich authored and edsiper committed Aug 29, 2024
1 parent 667e50e commit abcf3a4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/flb_reload.c
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,9 @@ int flb_reload(flb_ctx_t *ctx, struct flb_cf *cf_opts)
return FLB_RELOAD_HALTED;
}

flb_info("reloading instance pid=%lu tid=%p", (long unsigned) getpid(), pthread_self());
flb_info("reloading instance pid=%lu tid=%p",
(long unsigned int) getpid(),
(void *) pthread_self());

if (old_config->conf_path_file) {
file = flb_sds_create(old_config->conf_path_file);
Expand Down

0 comments on commit abcf3a4

Please sign in to comment.