diff options
Diffstat (limited to 'apps/plugins/test_codec.c')
-rw-r--r-- | apps/plugins/test_codec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c index 849b40de42..4c0739f660 100644 --- a/apps/plugins/test_codec.c +++ b/apps/plugins/test_codec.c | |||
@@ -80,7 +80,7 @@ static bool log_init(bool use_logfile) | |||
80 | 80 | ||
81 | if (use_logfile) { | 81 | if (use_logfile) { |
82 | log_close(); | 82 | log_close(); |
83 | rb->create_numbered_filename(logfilename, "/", "test_codec_log_", ".txt", | 83 | rb->create_numbered_filename(logfilename, HOME_DIR, "test_codec_log_", ".txt", |
84 | 2 IF_CNFN_NUM_(, NULL)); | 84 | 2 IF_CNFN_NUM_(, NULL)); |
85 | log_fd = rb->open(logfilename, O_RDWR|O_CREAT|O_TRUNC, 0666); | 85 | log_fd = rb->open(logfilename, O_RDWR|O_CREAT|O_TRUNC, 0666); |
86 | return log_fd >= 0; | 86 | return log_fd >= 0; |