summaryrefslogtreecommitdiffstats
path: root/tests/basic/gfapi/upcall-register-api.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basic/gfapi/upcall-register-api.c')
-rw-r--r--tests/basic/gfapi/upcall-register-api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basic/gfapi/upcall-register-api.c b/tests/basic/gfapi/upcall-register-api.c
index 78594dbb108..5127cea5b3f 100644
--- a/tests/basic/gfapi/upcall-register-api.c
+++ b/tests/basic/gfapi/upcall-register-api.c
@@ -120,7 +120,7 @@ perform_io(glfs_t *fs, glfs_t *fs2, int cnt)
LOG_ERR("glfs_lseek", ret);
memset(readbuf, 0, sizeof(readbuf));
- ret = glfs_pread(fd_tmp2, readbuf, 4, 0, 0, NULL);
+ ret = glfs_pread(fd_tmp2, readbuf, 4, 0, 0);
if (ret <= 0) {
ret = -1;