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 d05419f..9bdaf49 100644
--- a/apps/plugins/vbrfix.c
+++ b/apps/plugins/vbrfix.c
@@ -50,7 +50,7 @@ static int insert_data_in_file(char *fname, int fpos, char *buf, int num_bytes)
return 10*orig_fd - 1;
}
- fd = rb->creat(tmpname, O_WRONLY);
+ fd = rb->creat(tmpname);
if(fd < 0) {
rb->close(orig_fd);
return 10*fd - 2;