summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2014-10-27 15:43:06 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2014-10-27 15:43:06 +0000
commit346ebccae0f7a93577b7dfa5eba7f77f25f3c10f (patch)
tree039b0ce2a96cf08ddfc84bb61db0410311c74737
parent8013ac6c7f6f5b009ecb43ee9f2f4a5994261a39 (diff)
downloadillumos-joyent-346ebccae0f7a93577b7dfa5eba7f77f25f3c10f.tar.gz
OS-3467 lxbrand 64bit ltp sendfile08 fails
-rw-r--r--usr/src/lib/brand/lx/lx_brand/common/sendfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/src/lib/brand/lx/lx_brand/common/sendfile.c b/usr/src/lib/brand/lx/lx_brand/common/sendfile.c
index 3c9963f5dd..0ab0e881ba 100644
--- a/usr/src/lib/brand/lx/lx_brand/common/sendfile.c
+++ b/usr/src/lib/brand/lx/lx_brand/common/sendfile.c
@@ -106,6 +106,7 @@ lx_sendfile64(uintptr_t p1, uintptr_t p2, uintptr_t p3, uintptr_t p4)
sfv.sfv_flag = 0;
sfv.sfv_off = off;
sfv.sfv_len = sz;
+ xferred = 0;
error = __systemcall(&rval, SYS_sendfilev, SENDFILEV64, p1, &sfv,
1, &xferred);