From 43e9be8894a2eaf883453de78acbade7b391a53e Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 28 Mar 2012 12:37:04 +1100 Subject: build: Remove sys_lseek wrapper --- source3/client/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/client') diff --git a/source3/client/client.c b/source3/client/client.c index 0d60103f26..f10e56348c 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; -- cgit