From 6895b1e7ce71398066493deeebb70d2bc773fbf8 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 16 Jan 2018 16:32:37 -0600 Subject: [PATCH] apps/examples/lvgldemo: Fix cloning errors in printf statements. --- examples/lvgldemo/tp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/lvgldemo/tp.c b/examples/lvgldemo/tp.c index d02dc8cdc..2d1dbfc44 100644 --- a/examples/lvgldemo/tp.c +++ b/examples/lvgldemo/tp.c @@ -98,12 +98,12 @@ int tp_init(void) * external to this test. */ - printf("tc_main: Initializing external touchscreen device\n"); + printf("tp_init: Initializing external touchscreen device\n"); ret = boardctl(BOARDIOC_TSCTEST_SETUP, CONFIG_EXAMPLES_LGVLDEMO_MINOR); if (ret != OK) { - printf("tc_main: board_tsc_setup failed: %d\n", errno); + printf("tp_init: board_tsc_setup failed: %d\n", errno); errval = 1; goto errout; } @@ -111,11 +111,11 @@ int tp_init(void) /* Open the touchscreen device for reading */ - printf("tc_main: Opening %s\n", CONFIG_EXAMPLES_LGVLDEMO_DEVPATH); + printf("tp_init: Opening %s\n", CONFIG_EXAMPLES_LGVLDEMO_DEVPATH); fd = open(CONFIG_EXAMPLES_LGVLDEMO_DEVPATH, O_RDONLY | O_NONBLOCK); if (fd < 0) { - printf("tc_main: open %s failed: %d\n", + printf("tp_init: open %s failed: %d\n", CONFIG_EXAMPLES_LGVLDEMO_DEVPATH, errno); errval = 2; goto errout_with_tc;