Skip to content

Commit

Permalink
graphics/nxterm/nxterm_kbdin.c: Fix a syslog format
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt authored and xiaoxiang781216 committed Nov 25, 2020
1 parent b6217b2 commit 78c03c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion graphics/nxterm/nxterm_kbdin.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@

#include <nuttx/config.h>

#include <inttypes.h>
#include <fcntl.h>
#include <sched.h>
#include <assert.h>
Expand Down Expand Up @@ -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 */
Expand Down

0 comments on commit 78c03c8

Please sign in to comment.