From: Michael Adam Date: Tue, 15 Jul 2008 12:22:55 +0000 (+0200) Subject: registry: bump debug level to 1 in regdb_init() if opening the registry fails. X-Git-Tag: samba-3.3.0pre1~550^2~18 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=111d802b5c0dfdf556f736b6c53df74e077a6238;p=thirdparty%2Fsamba.git registry: bump debug level to 1 in regdb_init() if opening the registry fails. Higher level callers take care of level 0 messages or more drastic measures. Michael --- diff --git a/source/registry/reg_backend_db.c b/source/registry/reg_backend_db.c index e0a7277a5d4..72cb2fae5a9 100644 --- a/source/registry/reg_backend_db.c +++ b/source/registry/reg_backend_db.c @@ -397,7 +397,7 @@ WERROR regdb_init(void) REG_TDB_FLAGS, O_RDWR|O_CREAT, 0600); if (!regdb) { werr = ntstatus_to_werror(map_nt_error_from_unix(errno)); - DEBUG(0,("regdb_init: Failed to open registry %s (%s)\n", + DEBUG(1,("regdb_init: Failed to open registry %s (%s)\n", state_path("registry.tdb"), strerror(errno) )); return werr; }