Skip to content

Commit

Permalink
time: fixed printf format string in flb_time_pop_from_mpack
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Alminana <leonardo@calyptia.com>
  • Loading branch information
leonardo-albertovich committed Apr 25, 2023
1 parent b512530 commit c0fc037
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 @@ -346,7 +346,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 c0fc037

Please sign in to comment.