summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/highscore.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lib/highscore.c')
-rw-r--r--apps/plugins/lib/highscore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/lib/highscore.c b/apps/plugins/lib/highscore.c
index 9ada06e8fe..185930202a 100644
--- a/apps/plugins/lib/highscore.c
+++ b/apps/plugins/lib/highscore.c
@@ -33,7 +33,7 @@ int highscore_save(char *filename, struct highscore *scores, int num_scores)
33 if(!highscore_updated) 33 if(!highscore_updated)
34 return 1; 34 return 1;
35 35
36 fd = rb->open(filename, O_WRONLY|O_CREAT); 36 fd = rb->open(filename, O_WRONLY|O_CREAT, 0666);
37 if(fd < 0) 37 if(fd < 0)
38 return -1; 38 return -1;
39 39