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 05961db66c..35cefb163d 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -1148,7 +1148,7 @@ bool create_playlist(void) | |||
1148 | gui_textarea_update(&screens[i]); | 1148 | gui_textarea_update(&screens[i]); |
1149 | #endif | 1149 | #endif |
1150 | } | 1150 | } |
1151 | fd = creat(filename,0); | 1151 | fd = creat(filename, O_WRONLY); |
1152 | if (fd < 0) | 1152 | if (fd < 0) |
1153 | return false; | 1153 | return false; |
1154 | 1154 | ||