sixtop: fix typos in error messages

This commit is contained in:
Yasuyuki Tanaka 2018-03-16 20:32:47 +01:00
parent 8cc1713e93
commit 62a93a7e62
1 changed files with 2 additions and 2 deletions

View File

@ -150,7 +150,7 @@ sixp_input(const uint8_t *buf, uint16_t len, const linkaddr_t *src_addr)
}
if(sixp_pkt_parse(buf, len, &pkt) < 0) {
LOG_ERR("6P: sixp_input() fails because off a malformed 6P packet\n");
LOG_ERR("6P: sixp_input() fails because of a malformed 6P packet\n");
return;
}
@ -324,7 +324,7 @@ sixp_output(sixp_pkt_type_t type, sixp_pkt_code_t code, uint8_t sfid,
if(trans == NULL) {
LOG_ERR("6P: sixp_output() fails because of no transaction [peer_addr:");
LOG_ERR_LLADDR((const linkaddr_t *)dest_addr);
LOG_ERR_("\n");
LOG_ERR_("]\n");
return -1;
} else if(sixp_trans_get_state(trans) !=
SIXP_TRANS_STATE_RESPONSE_RECEIVED) {