summaryrefslogtreecommitdiff
path: root/source3
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
commita4bd608b48d58aca0d0d2833fd9dd0c2d35480c9 (patch)
tree5e144f23c3127dc5d68c738daedfc48be4d5d085 /source3
parent5916634a3abe193ed68ab2b75dd0cdd0c8fdeb44 (diff)
downloadsamba-a4bd608b48d58aca0d0d2833fd9dd0c2d35480c9.tar.gz
samba-a4bd608b48d58aca0d0d2833fd9dd0c2d35480c9.tar.bz2
samba-a4bd608b48d58aca0d0d2833fd9dd0c2d35480c9.zip
Raise log level of warning produced when the open() of the tdb fails.
Sometimes an open error is OK. (This used to be commit 5fb3be62910faf91e0e8381ba91f314f2092cb8e)
Diffstat (limited to 'source3')
-rw-r--r--source3/tdb/tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/tdb/tdb.c b/source3/tdb/tdb.c
index 6398a2a166..ea39b32dbf 100644
--- a/source3/tdb/tdb.c
+++ b/source3/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) */
}