summaryrefslogtreecommitdiff
path: root/apps/plugins/test_codec.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/test_codec.c')
-rw-r--r--apps/plugins/test_codec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c
index 849b40d..4c0739f 100644
--- a/apps/plugins/test_codec.c
+++ b/apps/plugins/test_codec.c
@@ -80,7 +80,7 @@ static bool log_init(bool use_logfile)
if (use_logfile) {
log_close();
- rb->create_numbered_filename(logfilename, "/", "test_codec_log_", ".txt",
+ rb->create_numbered_filename(logfilename, HOME_DIR, "test_codec_log_", ".txt",
2 IF_CNFN_NUM_(, NULL));
log_fd = rb->open(logfilename, O_RDWR|O_CREAT|O_TRUNC, 0666);
return log_fd >= 0;