From 3be7137c29f685b7d98d6fb8b77895546911ae2b Mon Sep 17 00:00:00 2001 From: Martin Lund Date: Wed, 25 May 2016 18:35:33 +0200 Subject: [PATCH] Fixed printf() format type --- src/tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tty.c b/src/tty.c index ca395fe..5094dbc 100644 --- a/src/tty.c +++ b/src/tty.c @@ -83,7 +83,7 @@ void handle_command_sequence(char input_char, char previous_char, char *output_c case KEY_I: tio_printf("Settings information:"); tio_printf(" TTY device: %s", option.tty_device); - tio_printf(" Baudrate: %d", option.baudrate); + tio_printf(" Baudrate: %u", option.baudrate); tio_printf(" Databits: %d", option.databits); tio_printf(" Flow: %s", option.flow); tio_printf(" Stopbits: %d", option.stopbits);