summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);