summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-09-02 18:30:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:03:29 -0500
commite8a5fad39d6864b09b6e3870b24cb221a297fab6 (patch)
treeb199402a8d4c9224d3f21ff5d1b8927c4c507042 /source3/registry
parentce3b4a10791117ade07425d3cbd8c4c804b1d6a4 (diff)
downloadsamba-e8a5fad39d6864b09b6e3870b24cb221a297fab6.tar.gz
samba-e8a5fad39d6864b09b6e3870b24cb221a297fab6.tar.bz2
samba-e8a5fad39d6864b09b6e3870b24cb221a297fab6.zip
r9965: Fix some typo's
(This used to be commit d30356b9ad90ad33dc93028829954632ab774c74)
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/regfio.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/registry/regfio.c b/source3/registry/regfio.c
index 4d1adea861..e7b8cdc8bb 100644
--- a/source3/registry/regfio.c
+++ b/source3/registry/regfio.c
@@ -85,7 +85,7 @@ static int read_block( REGF_FILE *file, prs_struct *ps, uint32 file_offset, uint
if ( (size_t)file_offset >= sbuf.st_size )
return -1;
- /* if block_size == 0, we are parsnig HBIN records and need
+ /* if block_size == 0, we are parsing HBIN records and need
to read some of the header to get the block_size from there */
if ( block_size == 0 ) {
@@ -533,7 +533,7 @@ static REGF_HBIN* read_hbin_block( REGF_FILE *file, off_t offset )
}
/*******************************************************************
- Input a randon offset and receive the correpsonding HBIN
+ Input a random offset and receive the corresponding HBIN
block for it
*******************************************************************/
@@ -549,7 +549,7 @@ static BOOL hbin_contains_offset( REGF_HBIN *hbin, uint32 offset )
}
/*******************************************************************
- Input a randon offset and receive the correpsonding HBIN
+ Input a random offset and receive the corresponding HBIN
block for it
*******************************************************************/
@@ -1030,7 +1030,7 @@ static BOOL next_record( REGF_HBIN *hbin, const char *hdr, BOOL *eob )
if ( curr_off == 0 )
prs_set_offset( ps, HBIN_HEADER_REC_SIZE );
- /* assume that the current offset is at the reacord header
+ /* assume that the current offset is at the record header
and we need to backup to read the record size */
curr_off -= sizeof(uint32);