summaryrefslogtreecommitdiffstats
path: root/apps/codecs/libspc/spc_profiler.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libspc/spc_profiler.c')
-rw-r--r--apps/codecs/libspc/spc_profiler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libspc/spc_profiler.c b/apps/codecs/libspc/spc_profiler.c
index 3184ad7b52..0ced8b5bd3 100644
--- a/apps/codecs/libspc/spc_profiler.c
+++ b/apps/codecs/libspc/spc_profiler.c
@@ -45,7 +45,7 @@ void reset_profile_timers(void)
void print_timers(char * path)
{
- int logfd = ci->open("/spclog.txt",O_WRONLY|O_CREAT|O_APPEND);
+ int logfd = ci->open("/spclog.txt",O_WRONLY|O_CREAT|O_APPEND, 0666);
ci->fdprintf(logfd,"%s:\t",path);
ci->fdprintf(logfd,"%10ld total\t",READ_TIMER(total));
PRINT_TIMER_PCT(render,total,"render");