diff options
Diffstat (limited to 'apps/plugins/clock.c')
-rw-r--r-- | apps/plugins/clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/clock.c b/apps/plugins/clock.c index 28cd223795..19c7dac4aa 100644 --- a/apps/plugins/clock.c +++ b/apps/plugins/clock.c | |||
@@ -903,7 +903,7 @@ void save_settings(bool interface) | |||
903 | rb->lcd_update(); | 903 | rb->lcd_update(); |
904 | } | 904 | } |
905 | 905 | ||
906 | fd = rb->creat(default_filename, O_WRONLY); /* create the settings file */ | 906 | fd = rb->creat(default_filename); /* create the settings file */ |
907 | 907 | ||
908 | if(fd >= 0) /* file exists, save successful */ | 908 | if(fd >= 0) /* file exists, save successful */ |
909 | { | 909 | { |