summaryrefslogtreecommitdiffstats
path: root/tests/helpers/test_uuid_namespace.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/helpers/test_uuid_namespace.c')
-rw-r--r--tests/helpers/test_uuid_namespace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/helpers/test_uuid_namespace.c b/tests/helpers/test_uuid_namespace.c
index 1bbf8754d..1522ed2bc 100644
--- a/tests/helpers/test_uuid_namespace.c
+++ b/tests/helpers/test_uuid_namespace.c
@@ -7,7 +7,7 @@
static void get_template(const char *ns)
{
const uuid_t *uuidptr;
- char buf[37];
+ char buf[UUID_STR_LEN];
uuidptr = uuid_get_template(ns);
if (uuidptr == NULL)