summaryrefslogtreecommitdiff
path: root/source3/lib/util.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/util.c
parent5c89d12ca43e7949ace93c75ce59ca9fc0606521 (diff)
downloadsamba-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.c2
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;
}