summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-11-30 10:53:55 +0100
committerVolker Lendecke <vl@samba.org>2012-11-30 14:02:53 +0100
commitaa7f4063177118b8dd37b30f40c5543fdd5f5ec0 (patch)
treeeb56ee6965726f921f4398ad69e9c514ddd59746 /source3/registry
parent234f9365b93b267f5a42dcc75512f08ccfb840c8 (diff)
downloadsamba-aa7f4063177118b8dd37b30f40c5543fdd5f5ec0.tar.gz
samba-aa7f4063177118b8dd37b30f40c5543fdd5f5ec0.tar.bz2
samba-aa7f4063177118b8dd37b30f40c5543fdd5f5ec0.zip
s3-reg: Fix copy and paste error in debug message.
Found by coverity.
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/regfio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/registry/regfio.c b/source3/registry/regfio.c
index bde18630aa..fe800948c2 100644
--- a/source3/registry/regfio.c
+++ b/source3/registry/regfio.c
@@ -1067,8 +1067,8 @@ static bool hbin_prs_key( REGF_FILE *file, REGF_HBIN *hbin, REGF_NK_REC *nk )
if ( !hbin_contains_offset( hbin, nk->sk_off ) ) {
sub_hbin = lookup_hbin_block( file, nk->sk_off );
if ( !sub_hbin ) {
- DEBUG(0,("hbin_prs_key: Failed to find HBIN block containing sk_offset [0x%x]\n",
- nk->subkeys_off));
+ DEBUG(0,("hbin_prs_key: Failed to find HBIN block containing sk_off [0x%x]\n",
+ nk->sk_off));
return False;
}
}