1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

r24684: Be a bit less verbose

This commit is contained in:
Jelmer Vernooij 2007-08-26 22:12:02 +00:00 committed by Gerald (Jerry) Carter
parent c87576743b
commit 7a7af62dc4
2 changed files with 5 additions and 5 deletions

View File

@ -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;
}

View File

@ -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;
}