Fix -Werror compilation.

It was broken in r197601.

llvm-svn: 197665
This commit is contained in:
Evgeniy Stepanov 2013-12-19 08:57:24 +00:00
parent f8c58c8dc8
commit 3a28dc7158
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}