From 35a3d5be72654d744563c8d4ca5d1014563fc1d9 Mon Sep 17 00:00:00 2001 From: Galin Simeonov Date: Mon, 27 Sep 2021 00:51:19 +0300 Subject: added a skeleton for a man page --- system_part.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'system_part.c') 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; } -- cgit v1.2.3