diff options
Diffstat (limited to 'apps/plugins/zxbox/snapshot.c')
-rw-r--r-- | apps/plugins/zxbox/snapshot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/zxbox/snapshot.c b/apps/plugins/zxbox/snapshot.c index 6efb29f91b..0b80b64497 100644 --- a/apps/plugins/zxbox/snapshot.c +++ b/apps/plugins/zxbox/snapshot.c | |||
@@ -584,7 +584,7 @@ static void save_snapshot_file_type(char *name, int type) | |||
584 | int snsh; | 584 | int snsh; |
585 | snsh = rb->open(name, O_WRONLY); | 585 | snsh = rb->open(name, O_WRONLY); |
586 | if(snsh < 0) { | 586 | if(snsh < 0) { |
587 | snsh = rb->creat(name); | 587 | snsh = rb->creat(name, 0666); |
588 | if(snsh < 0) { | 588 | if(snsh < 0) { |
589 | put_msg("Could not create snapshot file"); | 589 | put_msg("Could not create snapshot file"); |
590 | return; | 590 | return; |