summaryrefslogtreecommitdiff
path: root/tests/emptyctx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/emptyctx.cpp')
-rw-r--r--tests/emptyctx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/emptyctx.cpp b/tests/emptyctx.cpp
index 4208a5a..1448254 100644
--- a/tests/emptyctx.cpp
+++ b/tests/emptyctx.cpp
@@ -26,7 +26,7 @@ int XS_TEST_MAIN ()
// This is a very simple test to check whether everything works OK when
// context is terminated even before I/O threads were launched.
- void *ctx = xs_init (1);
+ void *ctx = xs_init ();
assert (ctx);
int rc = xs_term (ctx);
assert (rc == 0);