summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/font.c b/firmware/font.c
index 5eb6f7450f..40f99b330d 100644
--- a/firmware/font.c
+++ b/firmware/font.c
@@ -522,7 +522,7 @@ void glyph_cache_save(void)
if (fnt_file >= 0) {
- glyph_file = creat(GLYPH_CACHE_FILE, 0);
+ glyph_file = creat(GLYPH_CACHE_FILE, O_WRONLY);
if (glyph_file < 0) return;