summaryrefslogtreecommitdiff
path: root/source3/client
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/client
parent5c89d12ca43e7949ace93c75ce59ca9fc0606521 (diff)
downloadsamba-43e9be8894a2eaf883453de78acbade7b391a53e.tar.gz
build: Remove sys_lseek wrapper
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 0d60103f26f..f10e56348c7 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -1110,7 +1110,7 @@ static int do_get(const char *rname, const char *lname_in, bool reget)
if (reget) {
handle = sys_open(lname, O_WRONLY|O_CREAT, 0644);
if (handle >= 0) {
- start = sys_lseek(handle, 0, SEEK_END);
+ start = lseek(handle, 0, SEEK_END);
if (start == -1) {
d_printf("Error seeking local file\n");
return 1;