summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-12-11 04:21:10 +0000
committerRoger Dingledine <arma@torproject.org>2006-12-11 04:21:10 +0000
commit8cf8b8087ad25850b314cfbc0eb6afc3db5f8b4a (patch)
tree4ec59f757e8a0aa2abecf7d6efd5d77b0fc4d3e6 /src/common
parentea93289590714d5983d05155b293c7371042539d (diff)
downloadtor-8cf8b8087ad25850b314cfbc0eb6afc3db5f8b4a.tar.gz
tor-8cf8b8087ad25850b314cfbc0eb6afc3db5f8b4a.zip
when we decide not to mmap, because the file is empty or isn't
there at all, don't yell so loud. svn:r9065
Diffstat (limited to 'src/common')
-rw-r--r--src/common/compat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/compat.c b/src/common/compat.c
index 58f1dfdd10..8b7867c719 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -131,7 +131,7 @@ tor_mmap_file(const char *filename)
fd = open(filename, O_RDONLY, 0);
if (fd<0) {
- log_warn(LD_FS,"Could not open \"%s\" for mmap().",filename);
+ log_info(LD_FS,"Could not open \"%s\" for mmap().",filename);
return NULL;
}
@@ -144,7 +144,7 @@ tor_mmap_file(const char *filename)
if (!size) {
/* Zero-length file. If we call mmap on it, it will succeed but
* return NULL, and bad things will happen. So just fail. */
- log_notice(LD_FS,"File \"%s\" is empty. Ignoring.",filename);
+ log_info(LD_FS,"File \"%s\" is empty. Ignoring.",filename);
return NULL;
}