From a4bd608b48d58aca0d0d2833fd9dd0c2d35480c9 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 22 Jan 2002 00:38:36 +0000 Subject: 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) --- source3/tdb/tdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/tdb') 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) */ } -- cgit