summaryrefslogtreecommitdiff
path: root/test/format/backup.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/format/backup.c')
-rw-r--r--test/format/backup.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/format/backup.c b/test/format/backup.c
index 8aa614fa970..47f3c54325f 100644
--- a/test/format/backup.c
+++ b/test/format/backup.c
@@ -1,5 +1,5 @@
/*-
- * Public Domain 2014-2016 MongoDB, Inc.
+ * Public Domain 2014-2017 MongoDB, Inc.
* Public Domain 2008-2014 WiredTiger, Inc.
*
* This is free and unencumbered software released into the public domain.
@@ -83,7 +83,7 @@ copy_file(WT_SESSION *session, const char *name)
* backup --
* Periodically do a backup and verify it.
*/
-void *
+WT_THREAD_RET
backup(void *arg)
{
WT_CONNECTION *conn;
@@ -100,7 +100,7 @@ backup(void *arg)
/* Backups aren't supported for non-standard data sources. */
if (DATASOURCE("helium") || DATASOURCE("kvsbdb"))
- return (NULL);
+ return (WT_THREAD_RET_VALUE);
/* Open a session. */
testutil_check(conn->open_session(conn, NULL, NULL, &session));
@@ -188,5 +188,5 @@ backup(void *arg)
testutil_check(session->close(session, NULL));
- return (NULL);
+ return (WT_THREAD_RET_VALUE);
}