aboutsummaryrefslogtreecommitdiffstats
path: root/test_utils
diff options
context:
space:
mode:
Diffstat (limited to 'test_utils')
-rw-r--r--test_utils/test_common.h2
-rw-r--r--test_utils/test_main.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/test_utils/test_common.h b/test_utils/test_common.h
index fa726bff1fde..1425dd84b7df 100644
--- a/test_utils/test_common.h
+++ b/test_utils/test_common.h
@@ -348,7 +348,7 @@ int canNodump(void);
int setTestAcl(const char *path);
/* Get extended attribute */
-const void *getXattr(const char *, const char *, size_t *);
+void *getXattr(const char *, const char *, size_t *);
/* Set extended attribute */
int setXattr(const char *, const char *, const void *, size_t);
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;