summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
authorMichael Hanselmann <public@hansmi.ch>2019-03-17 16:20:47 +0100
committerAndrew Bartlett <abartlet@samba.org>2019-03-20 05:26:17 +0000
commitaa6b355858a0d8b77bf49384e5329642add1a5ff (patch)
tree61906f988da7c1915301337f08fba30906bb92e2 /source3/registry
parent305346d360d3c13fd315c1af27b037f46fd10650 (diff)
downloadsamba-aa6b355858a0d8b77bf49384e5329642add1a5ff.tar.gz
regfio: Use correct function names in debug information
Signed-off-by: Michael Hanselmann <public@hansmi.ch> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/regfio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/registry/regfio.c b/source3/registry/regfio.c
index 7e323da9dab..ebc586c50be 100644
--- a/source3/registry/regfio.c
+++ b/source3/registry/regfio.c
@@ -305,7 +305,7 @@ static bool prs_hbin_block( const char *desc, prs_struct *ps, int depth, REGF_HB
{
uint32_t block_size2;
- prs_debug(ps, depth, desc, "prs_regf_block");
+ prs_debug(ps, depth, desc, "prs_hbin_block");
depth++;
if ( !prs_uint8s( True, "header", ps, depth, (uint8_t*)hbin->header, sizeof( hbin->header )) )
@@ -1019,7 +1019,7 @@ static bool hbin_prs_key( REGF_FILE *file, REGF_HBIN *hbin, REGF_NK_REC *nk )
int depth = 0;
REGF_HBIN *sub_hbin;
- prs_debug(&hbin->ps, depth, "", "fetch_key");
+ prs_debug(&hbin->ps, depth, "", "prs_key");
depth++;
/* get the initial nk record */
@@ -1238,7 +1238,7 @@ out:
ZERO_STRUCTP( rb );
rb->fd = -1;
- if ( !(rb->mem_ctx = talloc_init( "read_regf_block" )) ) {
+ if ( !(rb->mem_ctx = talloc_init( "regfio_open" )) ) {
regfio_close( rb );
return NULL;
}