git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65c007b
)
lower the debug level of failing to map a file
author
Andrew Tridgell
<tridge@samba.org>
Fri, 15 Mar 2002 09:19:07 +0000
(09:19 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Fri, 15 Mar 2002 09:19:07 +0000
(09:19 +0000)
(This used to be commit
ad9965414d4d1fd8a031e3169b8f19d66cdad8be
)
source3/lib/util_file.c
patch
|
blob
|
history
diff --git
a/source3/lib/util_file.c
b/source3/lib/util_file.c
index 549766b13750c21c97a4f8ba6291805cf46b8662..88d03e7472bcec9dbcd687ebac0d8e9d51749332 100644
(file)
--- 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);