From 346ebccae0f7a93577b7dfa5eba7f77f25f3c10f Mon Sep 17 00:00:00 2001 From: Jerry Jelinek Date: Mon, 27 Oct 2014 15:43:06 +0000 Subject: OS-3467 lxbrand 64bit ltp sendfile08 fails --- usr/src/lib/brand/lx/lx_brand/common/sendfile.c | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.3