Skip to content

Commit 1383a55

Browse files
committed
out_s3: use correct printf format for MAX_UPLOAD_ERRORS (CID 309440)
1 parent 9c4646a commit 1383a55

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
@@ -1130,7 +1130,7 @@ static void cb_s3_flush(const void *data, size_t bytes,
11301130
chunk = s3_store_file_get(ctx, tag, tag_len);
11311131

11321132
if (chunk != NULL && chunk->failures >= MAX_UPLOAD_ERRORS) {
1133-
flb_plg_warn(ctx->ins, "Chunk for tag %s failed to send %s times, "
1133+
flb_plg_warn(ctx->ins, "Chunk for tag %s failed to send %d times, "
11341134
"will not retry", tag, MAX_UPLOAD_ERRORS);
11351135
s3_store_file_inactive(ctx, chunk);
11361136
chunk = NULL;

0 commit comments

Comments
 (0)