summaryrefslogtreecommitdiff
path: root/coregrind/m_libcfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'coregrind/m_libcfile.c')
-rw-r--r--coregrind/m_libcfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coregrind/m_libcfile.c b/coregrind/m_libcfile.c
index 50be7c00..9cddfc00 100644
--- a/coregrind/m_libcfile.c
+++ b/coregrind/m_libcfile.c
@@ -299,7 +299,7 @@ SysRes VG_(dup2) ( Int oldfd, Int newfd )
}
/* Returns -1 on error. */
-Int VG_(fcntl) ( Int fd, Int cmd, Int arg )
+Int VG_(fcntl) ( Int fd, Int cmd, Addr arg )
{
SysRes res = VG_(do_syscall3)(__NR_fcntl, fd, cmd, arg);
return sr_isError(res) ? -1 : sr_Res(res);