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 c67b7a8f39..d89e533d9e 100644 --- a/apps/plugins/zxbox/snapshot.c +++ b/apps/plugins/zxbox/snapshot.c | |||
@@ -586,7 +586,7 @@ static void save_snapshot_file_type(char *name, int type) | |||
586 | int snsh; | 586 | int snsh; |
587 | snsh = rb->open(name, O_WRONLY); | 587 | snsh = rb->open(name, O_WRONLY); |
588 | if(snsh < 0) { | 588 | if(snsh < 0) { |
589 | snsh = rb->creat(name, O_WRONLY); | 589 | snsh = rb->creat(name); |
590 | if(snsh < 0) { | 590 | if(snsh < 0) { |
591 | put_msg("Could not create snapshot file"); | 591 | put_msg("Could not create snapshot file"); |
592 | return; | 592 | return; |