summaryrefslogtreecommitdiff
path: root/source3/smbwrapper
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-10-09 20:17:11 +0000
committerLuke Leighton <lkcl@samba.org>1998-10-09 20:17:11 +0000
commit8158620124504a1ece1f1191cb8f273709039bd2 (patch)
tree883849bc6d1dd3f71e7deef4b494adb28cefde77 /source3/smbwrapper
parent4e004a0b5e7521a361444f6d67a3c2910c5688c2 (diff)
downloadsamba-8158620124504a1ece1f1191cb8f273709039bd2.tar.gz
samba-8158620124504a1ece1f1191cb8f273709039bd2.tar.bz2
samba-8158620124504a1ece1f1191cb8f273709039bd2.zip
dce/rpc.
(This used to be commit e0445419b2d50ae6efef36f4f295ebcfdbf1ad82)
Diffstat (limited to 'source3/smbwrapper')
-rw-r--r--source3/smbwrapper/smbw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbwrapper/smbw.c b/source3/smbwrapper/smbw.c
index 660e65f421..c0990b62b1 100644
--- a/source3/smbwrapper/smbw.c
+++ b/source3/smbwrapper/smbw.c
@@ -737,7 +737,7 @@ ssize_t smbw_pwrite(int fd, void *buf, size_t count, off_t ofs)
return -1;
}
- ret = cli_write(&file->srv->cli, file->f->cli_fd, buf, ofs, count);
+ ret = cli_write(&file->srv->cli, file->f->cli_fd, 0, buf, ofs, count);
if (ret == -1) {
errno = smbw_errno(&file->srv->cli);