diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-03-28 12:37:04 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-04-05 02:39:08 +0200 |
commit | 43e9be8894a2eaf883453de78acbade7b391a53e (patch) | |
tree | 86c52757bd1824edfa0418969963cc30076379e3 /source3/lib/util.c | |
parent | 5c89d12ca43e7949ace93c75ce59ca9fc0606521 (diff) | |
download | samba-43e9be8894a2eaf883453de78acbade7b391a53e.tar.gz samba-43e9be8894a2eaf883453de78acbade7b391a53e.tar.bz2 samba-43e9be8894a2eaf883453de78acbade7b391a53e.zip |
build: Remove sys_lseek wrapper
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r-- | source3/lib/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index d6e8ed8090..dcc02b5baf 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -347,7 +347,7 @@ ssize_t write_data_at_offset(int fd, const char *buffer, size_t N, SMB_OFF_T pos return (ssize_t)total; #else /* Use lseek and write_data. */ - if (sys_lseek(fd, pos, SEEK_SET) == -1) { + if (lseek(fd, pos, SEEK_SET) == -1) { if (errno != ESPIPE) { return -1; } |