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 | 8c5f577c6f40de2f346b4545cbcdfb08e30f629f (patch) | |
tree | d8a523043ac26b4d88f119bde6fa67d4f0143e95 /source3 | |
parent | fdb8c4dfe1d367deda6d0183d94f44d5d5e14992 (diff) | |
download | samba-8c5f577c6f40de2f346b4545cbcdfb08e30f629f.tar.gz samba-8c5f577c6f40de2f346b4545cbcdfb08e30f629f.tar.bz2 samba-8c5f577c6f40de2f346b4545cbcdfb08e30f629f.zip |
HPUX takes offset, not pointer to offset.
Jeremy.
(This used to be commit d7024e8cb94a20cba789deb2c5b70221f6cca4fd)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/sendfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/sendfile.c b/source3/lib/sendfile.c index 11bf38ebee..23d1154718 100644 --- a/source3/lib/sendfile.c +++ b/source3/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) |