summaryrefslogtreecommitdiff
path: root/source3/lib/smbrun.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/smbrun.c')
-rw-r--r--source3/lib/smbrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/smbrun.c b/source3/lib/smbrun.c
index b38dee1665..0ecdc0d683 100644
--- a/source3/lib/smbrun.c
+++ b/source3/lib/smbrun.c
@@ -132,7 +132,7 @@ static int smbrun_internal(const char *cmd, int *outfd, bool sanitize)
/* Reset the seek pointer. */
if (outfd) {
- sys_lseek(*outfd, 0, SEEK_SET);
+ lseek(*outfd, 0, SEEK_SET);
}
#if defined(WIFEXITED) && defined(WEXITSTATUS)