summaryrefslogtreecommitdiffhomepage
path: root/src/dump.c
diff options
context:
space:
mode:
authorcrimsonwoods <[email protected]>2013-05-05 11:28:06 +0900
committercrimsonwoods <[email protected]>2013-05-05 11:28:06 +0900
commit1dfe52e53d9619e25f152175eb2a1194d9b9b5c2 (patch)
tree13c7c19bc13e4cff46d0a29b74980028019434ee /src/dump.c
parent7d134d941b37e0aaa8f6c6630583b091f70b8354 (diff)
downloadmruby-1dfe52e53d9619e25f152175eb2a1194d9b9b5c2.tar.gz
mruby-1dfe52e53d9619e25f152175eb2a1194d9b9b5c2.zip
fix typos.
Diffstat (limited to 'src/dump.c')
-rw-r--r--src/dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dump.c b/src/dump.c
index 8eb64c9b2..c2b987bc8 100644
--- a/src/dump.c
+++ b/src/dump.c
@@ -304,7 +304,7 @@ mrb_write_section_lineno_header(mrb_state *mrb, uint32_t section_size, uint16_t
struct rite_section_lineno_header *header = (struct rite_section_lineno_header*)bin;
// TODO
- memcpy(header->section_identify, RITE_SECTION_LIENO_IDENTIFIER, sizeof(header->section_identify));
+ memcpy(header->section_identify, RITE_SECTION_LINENO_IDENTIFIER, sizeof(header->section_identify));
uint32_to_bin(section_size, header->section_size);
uint16_to_bin(nirep, header->nirep);
uint16_to_bin(sirep, header->sirep);
@@ -396,7 +396,7 @@ write_rite_binary_header(mrb_state *mrb, size_t binary_size, uint8_t* bin)
uint16_t crc;
size_t offset;
- memcpy(header->binary_identify, RITE_BINARY_IDENFIFIER, sizeof(header->binary_identify));
+ memcpy(header->binary_identify, RITE_BINARY_IDENTIFIER, sizeof(header->binary_identify));
memcpy(header->binary_version, RITE_BINARY_FORMAT_VER, sizeof(header->binary_version));
memcpy(header->compiler_name, RITE_COMPILER_NAME, sizeof(header->compiler_name));
memcpy(header->compiler_version, RITE_COMPILER_VERSION, sizeof(header->compiler_version));