summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-01-22 00:38:36 +0000
committerTim Potter <tpot@samba.org>2002-01-22 00:38:36 +0000
commit5fb3be62910faf91e0e8381ba91f314f2092cb8e (patch)
tree43bbd016f7e37b4370385f80aebfa39d5c988c04
parent96c36e51ee4df4c46e5e9e611844dfa83260f606 (diff)
downloadsamba-5fb3be62910faf91e0e8381ba91f314f2092cb8e.tar.gz
samba-5fb3be62910faf91e0e8381ba91f314f2092cb8e.tar.xz
samba-5fb3be62910faf91e0e8381ba91f314f2092cb8e.zip
Raise log level of warning produced when the open() of the tdb fails.
Sometimes an open error is OK.
-rw-r--r--source/tdb/tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tdb/tdb.c b/source/tdb/tdb.c
index 6398a2a166c..ea39b32dbf6 100644
--- a/source/tdb/tdb.c
+++ b/source/tdb/tdb.c
@@ -1453,7 +1453,7 @@ TDB_CONTEXT *tdb_open_ex(const char *name, int hash_size, int tdb_flags,
}
if ((tdb->fd = open(name, open_flags, mode)) == -1) {
- TDB_LOG((tdb, 0, "tdb_open_ex: could not open file %s: %s\n",
+ TDB_LOG((tdb, 5, "tdb_open_ex: could not open file %s: %s\n",
name, strerror(errno)));
goto fail; /* errno set by open(2) */
}