spelling: expected

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2025-01-28 14:40:39 -05:00
parent 0de0ee0d68
commit cb8f7b7fc1
2 changed files with 2 additions and 2 deletions

View file

@ -228,7 +228,7 @@ void pulse2_reliable_transport_on_command_packet(
}
} else {
PBL_LOG(LOG_LEVEL_DEBUG, "Received truncated or corrupt info packet "
"field (expeced %" PRIu16 ", got %" PRIu16 " data bytes). "
"field (expected %" PRIu16 ", got %" PRIu16 " data bytes). "
"Discarding.", ntoh16(packet->i.length), (uint16_t)length);
return;
}

View file

@ -133,7 +133,7 @@ void test_mbuf__iter_modify(void) {
for (int i = 0; i < 6; i++) {
cl_assert(!mbuf_iterator_is_finished(&write_iter));
cl_assert(!mbuf_iterator_is_finished(&read_iter));
// check we're on the exected mbuf
// check we're on the expected mbuf
if (i < 3) {
cl_assert(mbuf_iterator_get_current_mbuf(&write_iter) == &mbuf1);
cl_assert(mbuf_iterator_get_current_mbuf(&read_iter) == &mbuf1);