diff options
author | Andrew Tridgell <tridge@samba.org> | 2002-03-15 09:19:07 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2002-03-15 09:19:07 +0000 |
commit | ad9965414d4d1fd8a031e3169b8f19d66cdad8be (patch) | |
tree | 675522c8fac26ffae91e3faf5eaf3a25e43c36dd /source/lib/util_file.c | |
parent | 5760315c1de4033fdc22684c940f18010010924f (diff) | |
download | samba-ad9965414d4d1fd8a031e3169b8f19d66cdad8be.tar.gz samba-ad9965414d4d1fd8a031e3169b8f19d66cdad8be.tar.xz samba-ad9965414d4d1fd8a031e3169b8f19d66cdad8be.zip |
lower the debug level of failing to map a file
Diffstat (limited to 'source/lib/util_file.c')
-rw-r--r-- | source/lib/util_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/util_file.c b/source/lib/util_file.c index 549766b1375..88d03e7472b 100644 --- a/source/lib/util_file.c +++ b/source/lib/util_file.c @@ -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); |