1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-05 20:58:40 +03:00

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)
This commit is contained in:
Tim Potter 2002-01-22 00:38:36 +00:00
parent 5916634a3a
commit a4bd608b48

View File

@ -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) */
}