diff options
Diffstat (limited to 'firmware/profile.c')
-rw-r--r-- | firmware/profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/profile.c b/firmware/profile.c index 6700eca404..30a1e9fccc 100644 --- a/firmware/profile.c +++ b/firmware/profile.c | |||
@@ -189,7 +189,7 @@ void profstop() { | |||
189 | unsigned short current_index; | 189 | unsigned short current_index; |
190 | timer_unregister(); | 190 | timer_unregister(); |
191 | profiling = PROF_OFF; | 191 | profiling = PROF_OFF; |
192 | fd = open("/profile.out", O_WRONLY|O_CREAT|O_TRUNC); | 192 | fd = open("/profile.out", O_WRONLY|O_CREAT|O_TRUNC, 0666); |
193 | if (profiling_exit == PROF_ERROR) { | 193 | if (profiling_exit == PROF_ERROR) { |
194 | fdprintf(fd,"Profiling exited with an error.\n"); | 194 | fdprintf(fd,"Profiling exited with an error.\n"); |
195 | fdprintf(fd,"Overflow or timer stolen most likely.\n"); | 195 | fdprintf(fd,"Overflow or timer stolen most likely.\n"); |