From 95a501d13fa1aa7201baddb8aa9003f042a2350f Mon Sep 17 00:00:00 2001 From: Jean THOMAS Date: Thu, 30 Jul 2020 17:00:01 +0200 Subject: [PATCH] Fix identation --- examples/headless/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/headless/main.c b/examples/headless/main.c index b1beab2..b1fc8e1 100644 --- a/examples/headless/main.c +++ b/examples/headless/main.c @@ -61,7 +61,7 @@ int serial_setup(const char *devname, int baudrate) { memset(&tty, 0, sizeof(tty)); if (tcgetattr(serialfd, &tty) != 0) { - fprintf(stderr, "Error %i from tcgetattr: %s\n", errno, strerror(errno)); + fprintf(stderr, "Error %i from tcgetattr: %s\n", errno, strerror(errno)); } /* Parameters from flterm */ @@ -86,7 +86,7 @@ int serial_setup(const char *devname, int baudrate) { tcflush(serialfd, TCIFLUSH ); if (tcsetattr(serialfd, TCSANOW, &tty) != 0) { - fprintf(stderr, "Error %i from tcsetattr: %s\n", errno, strerror(errno)); + fprintf(stderr, "Error %i from tcsetattr: %s\n", errno, strerror(errno)); } return serialfd; -- 2.30.2