Skip to content

Commit 66df2fb

Browse files
PettitWesleyxmcqueen
authored andcommitted
out_s3: use correct printf format for MAX_UPLOAD_ERRORS (CID 309440) (fluent#2602)
Signed-off-by: Wesley Pettit <wppttt@amazon.com>
1 parent 50fce82 commit 66df2fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/out_s3/s3.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1137,7 +1137,7 @@ static void cb_s3_flush(const void *data, size_t bytes,
11371137
chunk = s3_store_file_get(ctx, tag, tag_len);
11381138

11391139
if (chunk != NULL && chunk->failures >= MAX_UPLOAD_ERRORS) {
1140-
flb_plg_warn(ctx->ins, "Chunk for tag %s failed to send %s times, "
1140+
flb_plg_warn(ctx->ins, "Chunk for tag %s failed to send %d times, "
11411141
"will not retry", tag, MAX_UPLOAD_ERRORS);
11421142
s3_store_file_inactive(ctx, chunk);
11431143
chunk = NULL;

0 commit comments

Comments
 (0)