diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-09-02 18:30:12 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2005-09-02 18:30:12 +0000 |
commit | 982d2c7c8f73c3bf750a17591e0f8184bb7a21bc (patch) | |
tree | 5484f9054a0b0db52935db5c16353bc6bc411d5a /source | |
parent | 841768cbbe164c29f2626347eee5ffe5d9428de3 (diff) | |
download | samba-982d2c7c8f73c3bf750a17591e0f8184bb7a21bc.tar.gz samba-982d2c7c8f73c3bf750a17591e0f8184bb7a21bc.tar.xz samba-982d2c7c8f73c3bf750a17591e0f8184bb7a21bc.zip |
r9965: Fix some typo's
Diffstat (limited to 'source')
-rw-r--r-- | source/registry/regfio.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/registry/regfio.c b/source/registry/regfio.c index 4d1adea8619..e7b8cdc8bb2 100644 --- a/source/registry/regfio.c +++ b/source/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); |