diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-05-05 03:39:15 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-05-05 03:39:15 -0700 |
| commit | 5e40c9bdb59352d99e0f95192c3f933a6d4d18f4 (patch) | |
| tree | 13c7c19bc13e4cff46d0a29b74980028019434ee /src/load.c | |
| parent | 7d134d941b37e0aaa8f6c6630583b091f70b8354 (diff) | |
| parent | 1dfe52e53d9619e25f152175eb2a1194d9b9b5c2 (diff) | |
| download | mruby-5e40c9bdb59352d99e0f95192c3f933a6d4d18f4.tar.gz mruby-5e40c9bdb59352d99e0f95192c3f933a6d4d18f4.zip | |
Merge pull request #1235 from crimsonwoods/fix_typos
fix typos.
Diffstat (limited to 'src/load.c')
| -rw-r--r-- | src/load.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/load.c b/src/load.c index 9278f3191..b3f13a8ef 100644 --- a/src/load.c +++ b/src/load.c @@ -309,7 +309,7 @@ read_rite_binary_header(const uint8_t *bin, size_t *bin_size, uint16_t *crc) { const struct rite_binary_header *header = (const struct rite_binary_header *)bin; - if (memcmp(header->binary_identify, RITE_BINARY_IDENFIFIER, sizeof(header->binary_identify)) != 0) { + if (memcmp(header->binary_identify, RITE_BINARY_IDENTIFIER, sizeof(header->binary_identify)) != 0) { return MRB_DUMP_INVALID_FILE_HEADER; } @@ -362,7 +362,7 @@ mrb_read_irep(mrb_state *mrb, const uint8_t *bin) } total_nirep += result; } - else if (memcmp(section_header->section_identify, RITE_SECTION_LIENO_IDENTIFIER, sizeof(section_header->section_identify)) == 0) { + else if (memcmp(section_header->section_identify, RITE_SECTION_LINENO_IDENTIFIER, sizeof(section_header->section_identify)) == 0) { result = read_rite_section_lineno(mrb, bin, sirep); if (result < MRB_DUMP_OK) { return result; @@ -601,7 +601,7 @@ mrb_read_irep_file(mrb_state *mrb, FILE* fp) } total_nirep += result; } - else if (memcmp(section_header.section_identify, RITE_SECTION_LIENO_IDENTIFIER, sizeof(section_header.section_identify)) == 0) { + else if (memcmp(section_header.section_identify, RITE_SECTION_LINENO_IDENTIFIER, sizeof(section_header.section_identify)) == 0) { fseek(fp, fpos, SEEK_SET); result = read_rite_section_lineno_file(mrb, fp, sirep); if (result < MRB_DUMP_OK) { |
