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 d05419f19c..9bdaf493f9 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)
50 return 10*orig_fd - 1; 50 return 10*orig_fd - 1;
51 } 51 }
52 52
53 fd = rb->creat(tmpname, O_WRONLY); 53 fd = rb->creat(tmpname);
54 if(fd < 0) { 54 if(fd < 0) {
55 rb->close(orig_fd); 55 rb->close(orig_fd);
56 return 10*fd - 2; 56 return 10*fd - 2;