You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2020/01/24 22:06:31 UTC
[incubator-nuttx-apps] 01/02: fix typo
This is an automated email from the ASF dual-hosted git repository.
acassis pushed a commit to branch pr32
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit 11772e639470c5aadcb7f37d53c6e5c7d7c99c66
Author: Satoshi Togawa <to...@develcb210.centurysys.co.jp>
AuthorDate: Fri Jan 24 22:12:06 2020 +0900
fix typo
---
system/zmodem/zm_state.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/system/zmodem/zm_state.c b/system/zmodem/zm_state.c
index a646bd3..5a71efd 100644
--- a/system/zmodem/zm_state.c
+++ b/system/zmodem/zm_state.c
@@ -647,7 +647,7 @@ static int zm_data(FAR struct zm_state_s *pzm, uint8_t ch)
if (pzm->pktlen >= ZM_PKTBUFSIZE)
{
zmdbg("ERROR: The packet buffer is full\n");
- zmdbg(" ch=%c[%02x] pktlen=%d ptktype=%02x ncrc=%d\n",
+ zmdbg(" ch=%c[%02x] pktlen=%d pkttype=%02x ncrc=%d\n",
isprint(ch) ? ch : '.', ch, pzm->pktlen, pzm->pkttype, pzm->ncrc);
zmdbg(" rcvlen=%d rcvndx=%d\n",
pzm->rcvlen, pzm->rcvndx);