summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorLieuwe Rooijakkers <lieuwerooijakkers@gmail.com>2024-07-21 18:18:50 +0200
committerLieuwe Rooijakkers <lieuwerooijakkers@gmail.com>2024-07-21 18:18:50 +0200
commit7639fa582728adfc6d3fa51852fffc9ad519b526 (patch)
tree5aac4d34e2dee553b860e73760c007252d719bd7 /src/util
parentb5873fc1113a4a3f98e314ad87d73833254693e1 (diff)
tak: betere afhandeling als projecteren niet lukt
Diffstat (limited to 'src/util')
-rw-r--r--src/util/map.c4
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;
}