mirror of
https://github.com/samba-team/samba.git
synced 2025-03-12 20:58:37 +03:00
Raise log level of warning produced when the open() of the tdb fails.
Sometimes an open error is OK.
This commit is contained in:
parent
96c36e51ee
commit
5fb3be6291
@ -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) */
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user