diff options
Diffstat (limited to 'src/io/read_file.c')
-rw-r--r-- | src/io/read_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io/read_file.c b/src/io/read_file.c index b2f4604..b3ee7f1 100644 --- a/src/io/read_file.c +++ b/src/io/read_file.c @@ -42,7 +42,7 @@ struct filebuf *stream_to_filebuf(FILE *restrict stream) { struct filebuf *res = calloc(1, sizeof(struct filebuf)); res->buf = buf; res->sz = sz; - res->mapping_type = MT_MMAP; + res->mapping_type = MT_OWNED; return res; } |