diff options
author | Michael Adam <obnox@samba.org> | 2008-01-10 14:18:46 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-10 14:18:46 +0100 |
commit | 7b0af7cdc97d4bbcbd73a9474871217511b92c3a (patch) | |
tree | 49f038d357b044e49d0f3454e247a6773a61887c /source/lib | |
parent | b2e7cdc6e899ca3c16edbb6c8786ff9aa999fa6e (diff) | |
download | samba-7b0af7cdc97d4bbcbd73a9474871217511b92c3a.tar.gz samba-7b0af7cdc97d4bbcbd73a9474871217511b92c3a.tar.xz samba-7b0af7cdc97d4bbcbd73a9474871217511b92c3a.zip |
Fix a really silly typo.
Michael
Diffstat (limited to 'source/lib')
-rw-r--r-- | source/lib/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/util.c b/source/lib/util.c index 3509294e8ea..d635078f37b 100644 --- a/source/lib/util.c +++ b/source/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) |