Skip to content

Commit

Permalink
time: fix printf-like format and arguments
Browse files Browse the repository at this point in the history
Signed-off-by: Benoît GARNIER <[email protected]>
  • Loading branch information
ChezBunch authored and edsiper committed Mar 3, 2023
1 parent 027e8e5 commit e77d32b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flb_time.c
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ int flb_time_pop_from_mpack(struct flb_time *time, mpack_reader_t *reader)
time->tm.tv_nsec = (uint32_t) ntohl(tmp);
break;
default:
flb_warn("unknown time format %s", tag.type);
flb_warn("unknown time format %d", tag.type);
return -1;
}

Expand Down

0 comments on commit e77d32b

Please sign in to comment.