diff --git a/src/mares_common.c b/src/mares_common.c index 94e71b7..20c50ce 100644 --- a/src/mares_common.c +++ b/src/mares_common.c @@ -91,7 +91,7 @@ mares_common_convert_ascii_to_binary (const unsigned char input[], unsigned int else if (ascii >= 'a' && ascii <= 'f') number = 10 + ascii - 'a'; else - WARNING ("Invalid charachter."); + WARNING ("Invalid character."); value <<= 4; value += number; diff --git a/src/uwatec_memomouse.c b/src/uwatec_memomouse.c index fff0792..c4c2f41 100644 --- a/src/uwatec_memomouse.c +++ b/src/uwatec_memomouse.c @@ -413,7 +413,7 @@ uwatec_memomouse_dump_internal (uwatec_memomouse_device_t *device, dc_buffer_t * // Wait for the answer (ACK). n = serial_read (device->port, &answer, 1); if (n != 1) { - WARNING ("Failed to recieve the answer."); + WARNING ("Failed to receive the answer."); return EXITCODE (n); } }