diff options
author | Lieuwe Rooijakkers <lieuwerooijakkers@gmail.com> | 2024-07-21 18:18:50 +0200 |
---|---|---|
committer | Lieuwe Rooijakkers <lieuwerooijakkers@gmail.com> | 2024-07-21 18:18:50 +0200 |
commit | 7639fa582728adfc6d3fa51852fffc9ad519b526 (patch) | |
tree | 5aac4d34e2dee553b860e73760c007252d719bd7 /src/util | |
parent | b5873fc1113a4a3f98e314ad87d73833254693e1 (diff) |
tak: betere afhandeling als projecteren niet lukt
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/map.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/map.c b/src/util/map.c index cd2da42..27e1c04 100644 --- a/src/util/map.c +++ b/src/util/map.c @@ -14,13 +14,13 @@ struct map *open_map(const char *fname) { struct stat sb; if (fstat(fd, &sb) == -1) { - fprintf(stderr, "Kon bestand niet lezen\n"); + //fprintf(stderr, "Kon bestand niet lezen\n"); return NULL; } char *addr = mmap(NULL, sb.st_size, PROT_READ, MAP_SHARED, fd, 0); if (addr == MAP_FAILED) { - fprintf(stderr, "Kon bestand niet projecteren in geheugen\n"); + //fprintf(stderr, "Kon bestand niet projecteren in geheugen\n"); return NULL; } |