diff options
Diffstat (limited to 'apps/plugins/sokoban.c')
| -rw-r--r-- | apps/plugins/sokoban.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/sokoban.c b/apps/plugins/sokoban.c index 838b4de..3a853c8 100644 --- a/apps/plugins/sokoban.c +++ b/apps/plugins/sokoban.c @@ -1117,7 +1117,7 @@ static bool save(char *filename, bool solution) } if (filename[0] == '\0' || - (fd = rb->open(filename, O_WRONLY|O_CREAT|O_TRUNC)) < 0) { + (fd = rb->open(filename, O_WRONLY|O_CREAT|O_TRUNC, 0666)) < 0) { rb->splashf(HZ*2, "Unable to open %s", filename); return false; } |