diff options
author | Sergey Matveev <earthdok@google.com> | 2014-03-04 12:41:18 +0000 |
---|---|---|
committer | Sergey Matveev <earthdok@google.com> | 2014-03-04 12:41:18 +0000 |
commit | e7b3e4c2ae3740229fe85a41304f8192a850181f (patch) | |
tree | d3e845376da7ef2e0991e316b377c5f454482f41 | |
parent | f69c3390bd7e3957ea2ec472c25eecd433e668f6 (diff) | |
download | bcm5719-llvm-e7b3e4c2ae3740229fe85a41304f8192a850181f.tar.gz bcm5719-llvm-e7b3e4c2ae3740229fe85a41304f8192a850181f.zip |
[msan] Add missing line to getxattr() test.
llvm-svn: 202841
-rw-r--r-- | compiler-rt/test/msan/Linux/xattr.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/test/msan/Linux/xattr.cc b/compiler-rt/test/msan/Linux/xattr.cc index 583b2e3a9bd..434eadfaeca 100644 --- a/compiler-rt/test/msan/Linux/xattr.cc +++ b/compiler-rt/test/msan/Linux/xattr.cc @@ -108,6 +108,7 @@ void test_get(ssize_t fun(const char *, char *, size_t), const char *attr_list, // null-separated strings in attr_list. size_t attr_list_len = argz_count(attr_list, attr_list_size); char **attrs = (char **)malloc((attr_list_len + 1) * sizeof(char *)); + argz_extract(attr_list, attr_list_size, attrs); size_t i; for (i = 0; (i < attr_list_len) && attrs[i]; i++) { if (test_get_single_attr(fun, attrs[i])) |