summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-07-15 14:22:55 +0200
committerMichael Adam <obnox@samba.org>2008-07-15 14:22:55 +0200
commit0586d981a710c68ba62c67e84194ce0b0a6b7a4b (patch)
tree30ccf807c06d1953bdbb55a294a047f59306fb54 /source3/registry
parent56681032b288ed924b40ab353c632a1fb153759d (diff)
downloadsamba-0586d981a710c68ba62c67e84194ce0b0a6b7a4b.tar.gz
samba-0586d981a710c68ba62c67e84194ce0b0a6b7a4b.tar.bz2
samba-0586d981a710c68ba62c67e84194ce0b0a6b7a4b.zip
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 (This used to be commit 111d802b5c0dfdf556f736b6c53df74e077a6238)
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/reg_backend_db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c
index e0a7277a5d..72cb2fae5a 100644
--- a/source3/registry/reg_backend_db.c
+++ b/source3/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;
}