diff options
author | Lieuwe Rooijakkers <lieuwerooijakkers@gmail.com> | 2024-07-21 20:31:14 +0200 |
---|---|---|
committer | Lieuwe Rooijakkers <lieuwerooijakkers@gmail.com> | 2024-07-21 20:31:14 +0200 |
commit | 88f3cc2d82d188e644d9791a4aaba68c1b11d747 (patch) | |
tree | c1e5cf715b7b0700da058aa3c29c46cc7eaa797f /src | |
parent | 35b413f525146c1c2cbe509967c2595378fdc299 (diff) |
stream_to_filebuf: herstel foutje
Diffstat (limited to 'src')
-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; } |