summaryrefslogtreecommitdiff
path: root/source3/lib/recvfile.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-03-28 12:37:04 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-04-05 02:39:08 +0200
commit43e9be8894a2eaf883453de78acbade7b391a53e (patch)
tree86c52757bd1824edfa0418969963cc30076379e3 /source3/lib/recvfile.c
parent5c89d12ca43e7949ace93c75ce59ca9fc0606521 (diff)
downloadsamba-43e9be8894a2eaf883453de78acbade7b391a53e.tar.gz
samba-43e9be8894a2eaf883453de78acbade7b391a53e.tar.bz2
samba-43e9be8894a2eaf883453de78acbade7b391a53e.zip
build: Remove sys_lseek wrapper
Diffstat (limited to 'source3/lib/recvfile.c')
-rw-r--r--source3/lib/recvfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/recvfile.c b/source3/lib/recvfile.c
index c74cdd5a67..6c8a1a3b57 100644
--- a/source3/lib/recvfile.c
+++ b/source3/lib/recvfile.c
@@ -63,7 +63,7 @@ static ssize_t default_sys_recvfile(int fromfd,
}
if (tofd != -1 && offset != (SMB_OFF_T)-1) {
- if (sys_lseek(tofd, offset, SEEK_SET) == -1) {
+ if (lseek(tofd, offset, SEEK_SET) == -1) {
if (errno != ESPIPE) {
return -1;
}