]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
registry: bump debug level to 1 in regdb_init() if storing version string fails.
authorMichael Adam <obnox@samba.org>
Tue, 15 Jul 2008 12:25:00 +0000 (14:25 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 15 Jul 2008 12:25:00 +0000 (14:25 +0200)
Higher level callers should take care of level 0 messages.

Michael

source/registry/reg_backend_db.c

index 72cb2fae5a9a66036aa5b20b06fc7ac1bd806ac4..d216e0e0852fced20d5bafee998f7f0fa8e2b253 100644 (file)
@@ -416,7 +416,7 @@ WERROR regdb_init(void)
                           vers_id, REGVER_V1));
                status = dbwrap_trans_store_int32(regdb, vstring, REGVER_V1);
                if (!NT_STATUS_IS_OK(status)) {
-                       DEBUG(0, ("regdb_init: error storing %s = %d: %s\n",
+                       DEBUG(1, ("regdb_init: error storing %s = %d: %s\n",
                                  vstring, REGVER_V1, nt_errstr(status)));
                        return ntstatus_to_werror(status);
                } else {