diff options
Diffstat (limited to 'firmware/screendump.c')
-rw-r--r-- | firmware/screendump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/screendump.c b/firmware/screendump.c index e84afb9511..1876df8ac0 100644 --- a/firmware/screendump.c +++ b/firmware/screendump.c | |||
@@ -140,7 +140,7 @@ void screen_dump(void) | |||
140 | IF_CNFN_NUM_(, NULL)); | 140 | IF_CNFN_NUM_(, NULL)); |
141 | #endif | 141 | #endif |
142 | 142 | ||
143 | fd = creat(filename); | 143 | fd = creat(filename, 0666); |
144 | if (fd < 0) | 144 | if (fd < 0) |
145 | return; | 145 | return; |
146 | 146 | ||
@@ -317,7 +317,7 @@ void remote_screen_dump(void) | |||
317 | IF_CNFN_NUM_(, NULL)); | 317 | IF_CNFN_NUM_(, NULL)); |
318 | #endif | 318 | #endif |
319 | 319 | ||
320 | fd = creat(filename); | 320 | fd = creat(filename, 0666); |
321 | if (fd < 0) | 321 | if (fd < 0) |
322 | return; | 322 | return; |
323 | 323 | ||