diff options
author | Jeremy Allison <jra@samba.org> | 2002-09-12 06:26:06 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-09-12 06:26:06 +0000 |
commit | d7024e8cb94a20cba789deb2c5b70221f6cca4fd (patch) | |
tree | 5a8205cec63f4dcfb6d590ae5e2a79e5cdc92ba9 /source | |
parent | 2b33a500a8ad13acdd7e4f593aba65229dc8dd96 (diff) | |
download | samba-d7024e8cb94a20cba789deb2c5b70221f6cca4fd.tar.gz samba-d7024e8cb94a20cba789deb2c5b70221f6cca4fd.tar.xz samba-d7024e8cb94a20cba789deb2c5b70221f6cca4fd.zip |
HPUX takes offset, not pointer to offset.
Jeremy.
Diffstat (limited to 'source')
-rw-r--r-- | source/lib/sendfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/lib/sendfile.c b/source/lib/sendfile.c index 11bf38ebeed..23d1154718c 100644 --- a/source/lib/sendfile.c +++ b/source/lib/sendfile.c @@ -115,9 +115,9 @@ ssize_t sys_sendfile(int outfd, int infd, const DATA_BLOB *header, SMB_OFF_T off do { #if defined(HAVE_EXPLICIT_LARGEFILE_SUPPORT) && defined(HAVE_OFF64_T) && defined(SENDFILE64) - nwritten = sendfile64(outfd, infd, &offset, total, &hdtrl, 0); + nwritten = sendfile64(outfd, infd, offset, total, &hdtrl[0], 0); #else - nwritten = sendfile(outfd, infd, &offset, total, &hdtrl, 0); + nwritten = sendfile(outfd, infd, offset, total, &hdtrl[0], 0); #endif } while (nwritten == -1 && errno == EINTR); if (nwritten == -1) |