diff options
Diffstat (limited to 'apps/misc.c')
| -rw-r--r-- | apps/misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/misc.c b/apps/misc.c index 09a7c2e..8487da0 100644 --- a/apps/misc.c +++ b/apps/misc.c @@ -399,7 +399,7 @@ void screen_dump(void) IF_CNFN_NUM_(, NULL)); #endif - fh = creat(filename, O_WRONLY); + fh = creat(filename); if (fh < 0) return; |