summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-10 14:18:46 +0100
committerMichael Adam <obnox@samba.org>2008-01-10 14:18:46 +0100
commit9f6d0479d795ca4f8d91a3e170f66e29cf16a16b (patch)
tree9bc0850d709ec4d5555cfd262acff6d8cdcacdb2 /source3/lib
parent5661ac6a389620ac543a384832de9ee9b64893c7 (diff)
downloadsamba-9f6d0479d795ca4f8d91a3e170f66e29cf16a16b.tar.gz
samba-9f6d0479d795ca4f8d91a3e170f66e29cf16a16b.tar.bz2
samba-9f6d0479d795ca4f8d91a3e170f66e29cf16a16b.zip
Fix a really silly typo.
Michael (This used to be commit 7b0af7cdc97d4bbcbd73a9474871217511b92c3a)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 3509294e8e..d635078f37 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -968,7 +968,7 @@ static ssize_t sys_write_fn(void *file, void *buf, size_t len)
{
int *fd = (int *)file;
- return sys_read(*fd, buf, len);
+ return sys_write(*fd, buf, len);
}
SMB_OFF_T transfer_file(int infd,int outfd,SMB_OFF_T n)