summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-03-15 09:19:07 +0000
committerAndrew Tridgell <tridge@samba.org>2002-03-15 09:19:07 +0000
commit079334a431bd214f327e8273f49a41acd740b71f (patch)
tree0aebee6f4d445a07866d410cff596484c7db5cd6 /source3/lib
parent65c007b583e2107f5ad1ba6733d3e578a143863e (diff)
downloadsamba-079334a431bd214f327e8273f49a41acd740b71f.tar.gz
samba-079334a431bd214f327e8273f49a41acd740b71f.tar.bz2
samba-079334a431bd214f327e8273f49a41acd740b71f.zip
lower the debug level of failing to map a file
(This used to be commit ad9965414d4d1fd8a031e3169b8f19d66cdad8be)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_file.c b/source3/lib/util_file.c
index 549766b137..88d03e7472 100644
--- a/source3/lib/util_file.c
+++ b/source3/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);