s3-reg: Fix copy and paste error in debug message.
authorAndreas Schneider <asn@samba.org>
Fri, 30 Nov 2012 09:53:55 +0000 (10:53 +0100)
committerVolker Lendecke <vl@samba.org>
Fri, 30 Nov 2012 13:02:53 +0000 (14:02 +0100)
Found by coverity.

source3/registry/regfio.c

index bde18630aa02b9c265e001d16bef12f91e429a7d..fe800948c2185891beccda0e16eb5c077141b8ef 100644 (file)
@@ -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;
                        }
                }