summaryrefslogtreecommitdiffstats
path: root/tests/basic/gfapi
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basic/gfapi')
-rw-r--r--tests/basic/gfapi/mandatory-lock-optimal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basic/gfapi/mandatory-lock-optimal.c b/tests/basic/gfapi/mandatory-lock-optimal.c
index 6c62f437a0f..9fb5ad657b0 100644
--- a/tests/basic/gfapi/mandatory-lock-optimal.c
+++ b/tests/basic/gfapi/mandatory-lock-optimal.c
@@ -366,7 +366,7 @@ void run_test_7 (int i) {
if (!fd2)
LOG_ERR ("glfs_open", errno);
- ret = glfs_ftruncate (fd2, 4);
+ ret = glfs_ftruncate (fd2, 4, NULL, NULL);
if (ret == 0 || errno != EAGAIN)
LOG_ERR ("glfs_ftruncate", errno);