diff options
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c index 7869696514..8d70eb8bd4 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -1226,7 +1226,7 @@ bool create_playlist(void) | |||
1226 | gui_textarea_update(&screens[i]); | 1226 | gui_textarea_update(&screens[i]); |
1227 | #endif | 1227 | #endif |
1228 | } | 1228 | } |
1229 | fd = creat(filename, O_WRONLY); | 1229 | fd = creat(filename); |
1230 | if (fd < 0) | 1230 | if (fd < 0) |
1231 | return false; | 1231 | return false; |
1232 | 1232 | ||