From 78c03c88bdb12792a961b5561a0275b554c533fe Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Tue, 24 Nov 2020 12:50:41 +0900 Subject: [PATCH] graphics/nxterm/nxterm_kbdin.c: Fix a syslog format --- graphics/nxterm/nxterm_kbdin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/graphics/nxterm/nxterm_kbdin.c b/graphics/nxterm/nxterm_kbdin.c index 6aabfaac8ac77..cdc8a6aba7d75 100644 --- a/graphics/nxterm/nxterm_kbdin.c +++ b/graphics/nxterm/nxterm_kbdin.c @@ -39,6 +39,7 @@ #include +#include #include #include #include @@ -384,7 +385,7 @@ void nxterm_kbdin(NXTERM handle, FAR const uint8_t *buffer, uint8_t buflen) char ch; int ret; - ginfo("buflen=%d\n"); + ginfo("buflen=%" PRId8 "\n", buflen); DEBUGASSERT(handle); /* Get the reference to the driver structure from the handle */