From 7e2980bee508cbaa4825ae94a538e7e536252c12 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 17 Jul 2016 09:39:26 -0600 Subject: [PATCH] Fix comment string --- examples/pty_test/pty_test.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/examples/pty_test/pty_test.c b/examples/pty_test/pty_test.c index 3af279bf5..742873a1f 100644 --- a/examples/pty_test/pty_test.c +++ b/examples/pty_test/pty_test.c @@ -329,8 +329,7 @@ int pty_test_main(int argc, char *argv[]) ret = tcgetattr(termpair.fd_uart, &tio); if (ret) { - fprintf(stderr, "en_crlf_conv: ERROR during tcgetattr(): %d\n", - errno); + fprintf(stderr, "ERROR: tcgetattr() failed: %d\n", errno); goto error_serial; } @@ -338,8 +337,7 @@ int pty_test_main(int argc, char *argv[]) ret = tcsetattr(termpair.fd_uart, TCSANOW, &tio); if (ret) { - fprintf(stderr, "en_crlf_conv: ERROR during tcsetattr(): %d\n", - errno); + fprintf(stderr, "ERROR: tcsetattr() failed: %d\n", errno); goto error_serial; }