diff options
-rw-r--r-- | system_part.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system_part.c b/system_part.c index 1865184..f8d91db 100644 --- a/system_part.c +++ b/system_part.c @@ -42,7 +42,7 @@ char* read_file(const char *filename) char *ret; struct stat file_stats; - file=open(filename,O_RDONLY|O_CREAT); + file=open(filename,O_RDONLY); if(file==-1) die("Could not open file %s\n",filename); |