summaryrefslogtreecommitdiff
path: root/source3/smbwrapper/wrapped.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbwrapper/wrapped.c')
-rw-r--r--source3/smbwrapper/wrapped.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbwrapper/wrapped.c b/source3/smbwrapper/wrapped.c
index 71bcb76ee9..30676ca3d0 100644
--- a/source3/smbwrapper/wrapped.c
+++ b/source3/smbwrapper/wrapped.c
@@ -82,7 +82,7 @@ __asm__(".globl __fcntl; __fcntl = fcntl");
int fcntl(int fd, int cmd, long arg)
{
if (smbw_fd(fd)) {
- return smbw_fcntl(fd);
+ return smbw_fcntl(fd, cmd, arg);
}
return real_fcntl(fd, cmd, arg);
@@ -431,7 +431,7 @@ __asm__(".globl __write; __write = write");
}
- int utime(const char *name,struct timeval *tvp)
+ int utime(const char *name,void *tvp)
{
if (smbw_path(name)) {
return smbw_utime(name, tvp);