Skip to content

Commit 56ecb1f

Browse files
Update plugins/in_tail/tail_db.c
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Signed-off-by: Hardik Khurana <43683221+hardikkhurana@users.noreply.github.com>
1 parent a853b7d commit 56ecb1f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

plugins/in_tail/tail_db.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,9 @@ int flb_tail_db_file_offset(struct flb_tail_file *file,
299299
ret = sqlite3_step(ctx->stmt_offset);
300300

301301
if (ret != SQLITE_DONE) {
302-
flb_plg_error(ctx->ins, "db: cannot update file offset for %s (id=%"PRIu64"), ret=%d,
303-
file->name, file->db_id, ret");
302+
flb_plg_error(ctx->ins,
303+
"db: cannot update file offset for %s (id=%"PRIu64"), ret=%d",
304+
file->name, file->db_id, ret);
304305
sqlite3_clear_bindings(ctx->stmt_offset);
305306
sqlite3_reset(ctx->stmt_offset);
306307
return -1;

0 commit comments

Comments
 (0)