diff options
author | Tim Potter <tpot@samba.org> | 2002-01-22 00:38:36 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-01-22 00:38:36 +0000 |
commit | a4bd608b48d58aca0d0d2833fd9dd0c2d35480c9 (patch) | |
tree | 5e144f23c3127dc5d68c738daedfc48be4d5d085 | |
parent | 5916634a3abe193ed68ab2b75dd0cdd0c8fdeb44 (diff) | |
download | samba-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)
-rw-r--r-- | source3/tdb/tdb.c | 2 |
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) */ } |