summaryrefslogtreecommitdiff
path: root/file_use.c
diff options
context:
space:
mode:
Diffstat (limited to 'file_use.c')
-rw-r--r--file_use.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/file_use.c b/file_use.c
index 8b72e25..b21ebdd 100644
--- a/file_use.c
+++ b/file_use.c
@@ -155,10 +155,10 @@ size_t f_file_write( f_file *f_f, size_t size, void *ptr )
if ((f_f->flags == F_FILE_WRITE) ||
(f_f->flags == F_FILE_RW) )
{
- ERROR("Not yet ready\n");
+ ret = fwrite( ptr, 1, size, f_f->fid );
}
}
-
+ return ret;
}