diff options
Diffstat (limited to 'apps/plugins/iriverify.c')
-rw-r--r-- | apps/plugins/iriverify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/iriverify.c b/apps/plugins/iriverify.c index 47cb385f0f..555c9200e3 100644 --- a/apps/plugins/iriverify.c +++ b/apps/plugins/iriverify.c | |||
@@ -67,7 +67,7 @@ static int write_file(void) | |||
67 | 67 | ||
68 | rb->snprintf(tmpfilename, MAX_PATH+1, "%s.tmp", filename); | 68 | rb->snprintf(tmpfilename, MAX_PATH+1, "%s.tmp", filename); |
69 | 69 | ||
70 | fd = rb->creat(tmpfilename, O_WRONLY); | 70 | fd = rb->creat(tmpfilename); |
71 | if(fd < 0) | 71 | if(fd < 0) |
72 | return 10 * fd - 1; | 72 | return 10 * fd - 1; |
73 | 73 | ||