summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2013-12-19 08:57:24 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2013-12-19 08:57:24 +0000
commit3a28dc71589fe4cd005e1d1c8b5181529f723253 (patch)
treede315f3f2d729e83fee60a0bd7836e92695db6d0 /compiler-rt
parentf8c58c8dc84986381765ab9fc08fa113c7e8c375 (diff)
downloadbcm5719-llvm-3a28dc71589fe4cd005e1d1c8b5181529f723253.tar.gz
bcm5719-llvm-3a28dc71589fe4cd005e1d1c8b5181529f723253.zip
Fix -Werror compilation.
It was broken in r197601. llvm-svn: 197665
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/lib/dfsan/dfsan_custom.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/dfsan/dfsan_custom.cc b/compiler-rt/lib/dfsan/dfsan_custom.cc
index b4b97aa27a7..cdd2cda1fcd 100644
--- a/compiler-rt/lib/dfsan/dfsan_custom.cc
+++ b/compiler-rt/lib/dfsan/dfsan_custom.cc
@@ -796,7 +796,7 @@ __dfsw_socketpair(int domain, int type, int protocol, int sv[2],
int ret = socketpair(domain, type, protocol, sv);
*ret_label = 0;
if (ret == 0) {
- dfsan_set_label(0, sv, sizeof(sv));
+ dfsan_set_label(0, sv, sizeof(*sv) * 2);
}
return ret;
}
OpenPOWER on IntegriCloud