aboutsummaryrefslogtreecommitdiffstats
path: root/test_utils/test_main.c
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2017-04-03 12:22:55 +0000
committerMartin Matuska <mm@FreeBSD.org>2017-04-03 12:22:55 +0000
commit659b8836cb5cd1ff479c8644211f190e1ad9619d (patch)
tree85519890ca3e772cf952aa3606b405a32fddb330 /test_utils/test_main.c
parent838c5c42c203c680c01b759d324976dc68e6199b (diff)
downloadsrc-659b8836cb5cd1ff479c8644211f190e1ad9619d.tar.gz
src-659b8836cb5cd1ff479c8644211f190e1ad9619d.zip
Update vendor/libarchive to git 500a62194a1faafaffd286f6da50633e86587f3c
Vendor changes (FreeBSD-related): Plug memory leaks in xattr tests.
Notes
Notes: svn path=/vendor/libarchive/dist/; revision=316455
Diffstat (limited to 'test_utils/test_main.c')
-rw-r--r--test_utils/test_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test_utils/test_main.c b/test_utils/test_main.c
index 36dfc82fa08f..d74045934bec 100644
--- a/test_utils/test_main.c
+++ b/test_utils/test_main.c
@@ -2451,8 +2451,8 @@ canNodump(void)
return (0);
}
-/* Get extended attribute from a path */
-const void *
+/* Get extended attribute value from a path */
+void *
getXattr(const char *path, const char *name, size_t *sizep)
{
void *value = NULL;