mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
lower the debug level of failing to map a file
(This used to be commit ad9965414d4d1fd8a031e3169b8f19d66cdad8be)
This commit is contained in:
parent
65c007b583
commit
079334a431
@ -435,7 +435,7 @@ void *map_file(char *fname, size_t size)
|
||||
int fd;
|
||||
fd = open(fname, O_RDONLY, 0);
|
||||
if (fd == -1) {
|
||||
DEBUG(1,("Failed to load %s - %s\n", fname, strerror(errno)));
|
||||
DEBUG(2,("Failed to load %s - %s\n", fname, strerror(errno)));
|
||||
return NULL;
|
||||
}
|
||||
p = mmap(NULL, size, PROT_READ, MAP_SHARED|MAP_FILE, fd, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user