registry: bump debug level to 1 in regdb_init() if opening the registry fails.
authorMichael Adam <obnox@samba.org>
Tue, 15 Jul 2008 12:22:55 +0000 (14:22 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 15 Jul 2008 12:22:55 +0000 (14:22 +0200)
Higher level callers take care of level 0 messages or more drastic measures.

Michael
(This used to be commit 111d802b5c0dfdf556f736b6c53df74e077a6238)

source3/registry/reg_backend_db.c

index e0a7277a5d432ea1f61559775acc21453644e1f1..72cb2fae5a9a66036aa5b20b06fc7ac1bd806ac4 100644 (file)
@@ -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;
                }