From: Michael Adam Date: Tue, 15 Jul 2008 12:25:00 +0000 (+0200) Subject: registry: bump debug level to 1 in regdb_init() if storing version string fails. X-Git-Tag: samba-3.3.0pre1~550^2~17 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b5829e04eaf2408858b34f53b849aaf8b969a925;p=thirdparty%2Fsamba.git registry: bump debug level to 1 in regdb_init() if storing version string fails. Higher level callers should take care of level 0 messages. Michael --- diff --git a/source/registry/reg_backend_db.c b/source/registry/reg_backend_db.c index 72cb2fae5a9..d216e0e0852 100644 --- a/source/registry/reg_backend_db.c +++ b/source/registry/reg_backend_db.c @@ -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 {