summaryrefslogtreecommitdiff
path: root/examples/c/ex_all.c
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@mongodb.com>2016-03-25 08:19:12 +1100
committerMichael Cahill <michael.cahill@mongodb.com>2016-03-25 08:19:12 +1100
commit43e885a0f9a3ad046eae1726b005ca1280624be3 (patch)
treef03d31a7b36c476484f26ea5259777aeb7b13201 /examples/c/ex_all.c
parent5cdd3e320cb19cd54111c2572a3d6e33d3009ad4 (diff)
parent9cf8eb2f15c6df7da90c19c86ccf7516ed126183 (diff)
downloadmongodb-3.2.5.tar.gz
Merge branch 'mongodb-3.4' into mongodb-3.2mongodb-3.2.5
Diffstat (limited to 'examples/c/ex_all.c')
-rw-r--r--examples/c/ex_all.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/c/ex_all.c b/examples/c/ex_all.c
index 418c99ad6a3..1c036b75461 100644
--- a/examples/c/ex_all.c
+++ b/examples/c/ex_all.c
@@ -346,8 +346,7 @@ cursor_ops(WT_SESSION *session)
cursor->set_key(cursor, key);
if ((ret = cursor->remove(cursor)) != 0) {
fprintf(stderr,
- "cursor.remove: %s\n",
- cursor->session->strerror(cursor->session, ret));
+ "cursor.remove: %s\n", wiredtiger_strerror(ret));
return (ret);
}
/*! [Display an error] */
@@ -359,7 +358,8 @@ cursor_ops(WT_SESSION *session)
cursor->set_key(cursor, key);
if ((ret = cursor->remove(cursor)) != 0) {
fprintf(stderr,
- "cursor.remove: %s\n", session->strerror(session, ret));
+ "cursor.remove: %s\n",
+ cursor->session->strerror(cursor->session, ret));
return (ret);
}
/*! [Display an error thread safe] */