summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 7869696..8d70eb8 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -1226,7 +1226,7 @@ bool create_playlist(void)
gui_textarea_update(&screens[i]);
#endif
}
- fd = creat(filename, O_WRONLY);
+ fd = creat(filename);
if (fd < 0)
return false;