summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-08-26 22:12:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:02:42 -0500
commit6ca139026956916a4a956dd36d10d7f5a72272b8 (patch)
tree6a6ed123ed1b8a45f5e6a5abe52ceb8eb575ca87
parent3c9f28334c62167c80589b348c7662388342a922 (diff)
downloadsamba-6ca139026956916a4a956dd36d10d7f5a72272b8.tar.gz
samba-6ca139026956916a4a956dd36d10d7f5a72272b8.tar.bz2
samba-6ca139026956916a4a956dd36d10d7f5a72272b8.zip
r24684: Be a bit less verbose
(This used to be commit 7a7af62dc4485d832436ed39dfba41b417ec2b10)
-rw-r--r--source4/lib/registry/ldb.c4
-rw-r--r--source4/lib/registry/regf.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/source4/lib/registry/ldb.c b/source4/lib/registry/ldb.c
index 8ee4d9f932..8a34fa7a54 100644
--- a/source4/lib/registry/ldb.c
+++ b/source4/lib/registry/ldb.c
@@ -295,11 +295,11 @@ static WERROR ldb_open_key(TALLOC_CTX *mem_ctx, const struct hive_key *h,
ret = ldb_search(c, ldap_path, LDB_SCOPE_BASE, "(key=*)", NULL, &res);
if (ret != LDB_SUCCESS) {
- DEBUG(0, ("Error opening key '%s': %s\n",
+ DEBUG(3, ("Error opening key '%s': %s\n",
ldb_dn_get_linearized(ldap_path), ldb_errstring(c)));
return WERR_FOOBAR;
} else if (res->count == 0) {
- DEBUG(0, ("Key '%s' not found\n", ldb_dn_get_linearized(ldap_path)));
+ DEBUG(3, ("Key '%s' not found\n", ldb_dn_get_linearized(ldap_path)));
talloc_free(res);
return WERR_NOT_FOUND;
}
diff --git a/source4/lib/registry/regf.c b/source4/lib/registry/regf.c
index 7fa71033d9..d74ffd2b4b 100644
--- a/source4/lib/registry/regf.c
+++ b/source4/lib/registry/regf.c
@@ -1303,7 +1303,7 @@ static WERROR regf_sl_del_entry(struct regf_data *regf, uint32_t list_offset,
}
}
if (!found_offset) {
- DEBUG(0, ("Subkey not found\n"));
+ DEBUG(2, ("Subkey not found\n"));
return WERR_NOT_FOUND;
}
li.key_count--;
@@ -1345,7 +1345,7 @@ static WERROR regf_sl_del_entry(struct regf_data *regf, uint32_t list_offset,
}
}
if (!found_offset) {
- DEBUG(0, ("Subkey not found\n"));
+ DEBUG(2, ("Subkey not found\n"));
return WERR_NOT_FOUND;
}
lf.key_count--;
@@ -1487,7 +1487,7 @@ static WERROR regf_del_key(const struct hive_key *parent, const char *name)
/* Find the key */
if (!W_ERROR_IS_OK(regf_get_subkey_by_name(parent_nk, parent, name,
(struct hive_key **)&key))) {
- DEBUG(0, ("Key '%s' not found\n", name));
+ DEBUG(2, ("Key '%s' not found\n", name));
return WERR_NOT_FOUND;
}