summaryrefslogtreecommitdiff
path: root/source4/lib/registry
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-06-18 11:16:16 +0200
committerAndrew Bartlett <abartlet@samba.org>2009-06-19 11:32:01 +1000
commit2627c6c0c2d3d96b3d458092ba8b090447a76a61 (patch)
tree9b3beebf9c689901eed3cd71a344809e36ca5436 /source4/lib/registry
parent0376d056e58d76b7792a5512d84c07f703838b4d (diff)
downloadsamba-2627c6c0c2d3d96b3d458092ba8b090447a76a61.tar.gz
samba-2627c6c0c2d3d96b3d458092ba8b090447a76a61.tar.bz2
samba-2627c6c0c2d3d96b3d458092ba8b090447a76a61.zip
Fixed some uninitialised variables
I tried hard to not change the program logic. Should fix bug #6439.
Diffstat (limited to 'source4/lib/registry')
-rw-r--r--source4/lib/registry/regf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/registry/regf.c b/source4/lib/registry/regf.c
index fbb9cd9de9..6d4ea1b688 100644
--- a/source4/lib/registry/regf.c
+++ b/source4/lib/registry/regf.c
@@ -1727,7 +1727,8 @@ static WERROR regf_add_key(TALLOC_CTX *ctx, const struct hive_key *parent,
if (!hbin_get_tdr(regf, regf->header->data_offset, root,
(tdr_pull_fn_t)tdr_pull_nk_block, root)) {
- DEBUG(0, ("Unable to find HBIN data for offset %d\n", offset));
+ DEBUG(0, ("Unable to find HBIN data for offset %d\n",
+ regf->header->data_offset));
return WERR_GENERAL_FAILURE;
}
nk.sk_offset = root->sk_offset;