summaryrefslogtreecommitdiff
path: root/debug/pread64_chk.c
diff options
context:
space:
mode:
Diffstat (limited to 'debug/pread64_chk.c')
-rw-r--r--debug/pread64_chk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/pread64_chk.c b/debug/pread64_chk.c
index d281ad54af..c0e0efdf85 100644
--- a/debug/pread64_chk.c
+++ b/debug/pread64_chk.c
@@ -26,6 +26,6 @@ __pread64_chk (int fd, void *buf, size_t nbytes, off64_t offset, size_t buflen)
if (nbytes > buflen)
__chk_fail ();
- return __pread64 (fd, buf, offset, nbytes);
+ return __pread64 (fd, buf, nbytes, offset);
}
#endif