summaryrefslogtreecommitdiffstats
path: root/tests/basic/gfapi/mandatory-lock-optimal.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basic/gfapi/mandatory-lock-optimal.c')
-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 34fef8d0b80..ceffe523f45 100644
--- a/tests/basic/gfapi/mandatory-lock-optimal.c
+++ b/tests/basic/gfapi/mandatory-lock-optimal.c
@@ -388,7 +388,7 @@ run_test_7(int i)
if (!fd2)
LOG_ERR("glfs_open", errno);
- ret = glfs_ftruncate(fd2, 4, NULL, NULL);
+ ret = glfs_ftruncate(fd2, 4);
if (ret == 0 || errno != EAGAIN)
LOG_ERR("glfs_ftruncate", errno);