diff options
-rw-r--r-- | source4/lib/util_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/util_file.c b/source4/lib/util_file.c index 203eccd0cf..246b03b4aa 100644 --- a/source4/lib/util_file.c +++ b/source4/lib/util_file.c @@ -195,7 +195,7 @@ char *file_load(const char *fname, size_t *size, TALLOC_CTX *mem_ctx) /******************************************************************* mmap (if possible) or read a file ********************************************************************/ -void *map_file(char *fname, size_t size) +void *map_file(const char *fname, size_t size) { size_t s2 = 0; void *p = NULL; |