summaryrefslogtreecommitdiff
path: root/apps/plugins/vbrfix.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/vbrfix.c')
-rw-r--r--apps/plugins/vbrfix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/vbrfix.c b/apps/plugins/vbrfix.c
index 3e152be..2ca0176 100644
--- a/apps/plugins/vbrfix.c
+++ b/apps/plugins/vbrfix.c
@@ -49,7 +49,7 @@ static int insert_data_in_file(const char *fname, int fpos, char *buf, int num_b
return 10*orig_fd - 1;
}
- fd = rb->creat(tmpname);
+ fd = rb->creat(tmpname, 0666);
if(fd < 0) {
rb->close(orig_fd);
return 10*fd - 2;