summaryrefslogtreecommitdiffstats
path: root/system_part.c
diff options
context:
space:
mode:
authorGalin Simeonov <gts@volconst.com>2021-09-27 00:51:19 +0300
committerGalin Simeonov <gts@volconst.com>2021-09-27 00:51:19 +0300
commit35a3d5be72654d744563c8d4ca5d1014563fc1d9 (patch)
treebfb221bb07239b90bd8e1f845707fd9639f174db /system_part.c
parent8c9ec9a22944e4d47b707d01f084e31ce4512f8a (diff)
downloadvolgit-35a3d5be72654d744563c8d4ca5d1014563fc1d9.tar.gz
added a skeleton for a man page
Diffstat (limited to 'system_part.c')
-rw-r--r--system_part.c2
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;
}