diff options
Diffstat (limited to 'system_part.c')
-rw-r--r-- | system_part.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/system_part.c b/system_part.c index f3ef526..1865184 100644 --- a/system_part.c +++ b/system_part.c @@ -53,6 +53,8 @@ char* read_file(const char *filename) if(ret==NULL) die("Ran out of memory!\n"); + read(file,ret,file_stats.st_size); + close(file); return ret; } |