summaryrefslogtreecommitdiffstats
path: root/tests/bugs/io-cache/bug-read-hang.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/io-cache/bug-read-hang.c')
-rw-r--r--tests/bugs/io-cache/bug-read-hang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bugs/io-cache/bug-read-hang.c b/tests/bugs/io-cache/bug-read-hang.c
index e1fae97e7e8..982c475f7e7 100644
--- a/tests/bugs/io-cache/bug-read-hang.c
+++ b/tests/bugs/io-cache/bug-read-hang.c
@@ -103,7 +103,7 @@ main(int argc, char *argv[])
buf = (char *)malloc(5);
- ret = glfs_pread(fd, buf, 5, 0, 0, NULL);
+ ret = glfs_pread(fd, buf, 5, 0, 0);
if (ret < 0) {
fprintf(stderr, "Read(%s): %d (%s)\n", "test", ret, strerror(errno));
return ret;