summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-09-15 18:06:28 +0200
committerDavid Robillard <d@drobilla.net>2018-09-15 18:06:28 +0200
commit38b19c37bfbba19bde0dda6c93b2232f1706632e (patch)
treef438ad1d3d96e379205b1bcbb13f3d34385ab671 /test
parentce9036a6d9ebb1a7d33f3525104db2478fbd5718 (diff)
downloadlilv-38b19c37bfbba19bde0dda6c93b2232f1706632e.tar.gz
lilv-38b19c37bfbba19bde0dda6c93b2232f1706632e.tar.bz2
lilv-38b19c37bfbba19bde0dda6c93b2232f1706632e.zip
Fix test suite
Diffstat (limited to 'test')
-rw-r--r--test/lilv_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lilv_test.c b/test/lilv_test.c
index 6b81cb1..117c428 100644
--- a/test/lilv_test.c
+++ b/test/lilv_test.c
@@ -79,7 +79,7 @@ delete_bundle(void)
static void
init_tests(void)
{
- snprintf(bundle_dir_name, strlen(bundle_dir_name), "%s/.lv2/lilv-test.lv2",
+ snprintf(bundle_dir_name, sizeof(bundle_dir_name), "%s/.lv2/lilv-test.lv2",
getenv("HOME"));
lilv_mkdir_p(bundle_dir_name);