diff options
-rw-r--r-- | test/checkpoint/checkpointer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/checkpoint/checkpointer.c b/test/checkpoint/checkpointer.c index 9f12e323878..57478350b52 100644 --- a/test/checkpoint/checkpointer.c +++ b/test/checkpoint/checkpointer.c @@ -188,7 +188,7 @@ verify_checkpoint(WT_SESSION *session) continue; t_ret = cursors[i]->next(cursors[i]); if (t_ret != 0 && t_ret != WT_NOTFOUND) { - (void)log_print_err("cursor->next", ret, 1); + (void)log_print_err("cursor->next", t_ret, 1); goto err; } @@ -224,7 +224,7 @@ err: for (i = 0; i < g.ntables; i++) { "verify_checkpoint:cursor close", ret, 1); } free(cursors); - return (0); + return (ret); } /* |