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 3e152be3fc..2ca0176084 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
49 return 10*orig_fd - 1; 49 return 10*orig_fd - 1;
50 } 50 }
51 51
52 fd = rb->creat(tmpname); 52 fd = rb->creat(tmpname, 0666);
53 if(fd < 0) { 53 if(fd < 0) {
54 rb->close(orig_fd); 54 rb->close(orig_fd);
55 return 10*fd - 2; 55 return 10*fd - 2;