You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/12/03 23:04:47 UTC
[incubator-nuttx-apps] branch master updated:
examples/touchscreen/tc_main.c: Fix a syslog format
This is an automated email from the ASF dual-hosted git repository.
aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 2bafb70 examples/touchscreen/tc_main.c: Fix a syslog format
2bafb70 is described below
commit 2bafb70ce1e7af96640c501d3ce3d2a2bf29c9e5
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Thu Dec 3 18:13:28 2020 +0900
examples/touchscreen/tc_main.c: Fix a syslog format
---
examples/touchscreen/tc_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/touchscreen/tc_main.c b/examples/touchscreen/tc_main.c
index a3b6726..c60bb08 100644
--- a/examples/touchscreen/tc_main.c
+++ b/examples/touchscreen/tc_main.c
@@ -181,7 +181,7 @@ int main(int argc, FAR char *argv[])
iinfo("Reading...\n");
nbytes = read(fd, &sample, sizeof(struct touch_sample_s));
- iinfo("Bytes read: %d\n", nbytes);
+ iinfo("Bytes read: %zd\n", nbytes);
/* Handle unexpected return values */