diff options
Diffstat (limited to 'source3/registry')
-rw-r--r-- | source3/registry/regfio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/registry/regfio.c b/source3/registry/regfio.c index 9be8ff8fb9..bde18630aa 100644 --- a/source3/registry/regfio.c +++ b/source3/registry/regfio.c @@ -1468,7 +1468,7 @@ static REGF_HBIN* regf_hbin_allocate( REGF_FILE *file, uint32 block_size ) if ( !(hbin = talloc_zero( file->mem_ctx, REGF_HBIN )) ) return NULL; - memcpy( hbin->header, "hbin", sizeof(HBIN_HDR_SIZE) ); + memcpy( hbin->header, "hbin", HBIN_HDR_SIZE); if (sys_fstat(file->fd, &sbuf, false)) { |