summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/litest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/litest.c b/test/litest.c
index caf2c8c8..23a9cde7 100644
--- a/test/litest.c
+++ b/test/litest.c
@@ -1229,7 +1229,7 @@ litest_install_quirks(struct list *created_files_list)
{
struct litest_test_device **dev = devices;
struct created_file *file;
- char dirname[PATH_MAX] = "/run/litest-XXXXXX";
+ char dirname[] = "/run/litest-XXXXXX";
char **quirks, **q;
litest_assert_notnull(mkdtemp(dirname));