summaryrefslogtreecommitdiff
path: root/examples/c/ex_data_source.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/c/ex_data_source.c')
-rw-r--r--examples/c/ex_data_source.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/c/ex_data_source.c b/examples/c/ex_data_source.c
index 5043fa1b67d..7fb400b5922 100644
--- a/examples/c/ex_data_source.c
+++ b/examples/c/ex_data_source.c
@@ -75,8 +75,9 @@ my_create(WT_DATA_SOURCE *dsrc, WT_SESSION *session,
{
int ret = 0;
/*! [WT_EXTENSION_API strerror] */
- (void)wt_api->err_printf(wt_api,
- session, "WiredTiger error return: %s", wt_api->strerror(ret));
+ (void)wt_api->err_printf(wt_api, session,
+ "WiredTiger error return: %s",
+ wt_api->strerror(wt_api, session, ret));
/*! [WT_EXTENSION_API strerror] */
}