aboutsummaryrefslogtreecommitdiff
path: root/elf/readlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/readlib.c')
-rw-r--r--elf/readlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/readlib.c b/elf/readlib.c
index f3129c4..f71c615 100644
--- a/elf/readlib.c
+++ b/elf/readlib.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999-2024 Free Software Foundation, Inc.
+/* Copyright (C) 1999-2025 Free Software Foundation, Inc.
This file is part of the GNU C Library.
This program is free software; you can redistribute it and/or modify
@@ -107,7 +107,7 @@ process_file (const char *real_file_name, const char *file_name,
return 1;
}
- file_contents = mmap (0, statbuf.st_size, PROT_READ, MAP_SHARED,
+ file_contents = mmap (NULL, statbuf.st_size, PROT_READ, MAP_SHARED,
fileno (file), 0);
if (file_contents == MAP_FAILED)
{