diff options
author | Galin Simeonov <gts@volconst.com> | 2021-09-27 00:51:19 +0300 |
---|---|---|
committer | Galin Simeonov <gts@volconst.com> | 2021-09-27 00:51:19 +0300 |
commit | 35a3d5be72654d744563c8d4ca5d1014563fc1d9 (patch) | |
tree | bfb221bb07239b90bd8e1f845707fd9639f174db /system_part.c | |
parent | 8c9ec9a22944e4d47b707d01f084e31ce4512f8a (diff) | |
download | volgit-35a3d5be72654d744563c8d4ca5d1014563fc1d9.tar.gz |
added a skeleton for a man page
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; } |