Fixed printf directives for tx/rx counters

In 9a66de0aff, types of tx/rx counters were changed from "long" to
"unsigned long", but their printf directives remained "%ld".
Change them to "%lu" to match the actual types.
This commit is contained in:
Jakub Wilk 2016-05-21 16:38:13 +02:00
parent 9a66de0aff
commit f2fe52b600

View file

@ -102,7 +102,7 @@ void handle_command_sequence(char input_char, char previous_char, char *output_c
case KEY_S:
/* Show tx/rx statistics upon ctrl-t s sequence */
tio_printf("Statistics:");
tio_printf(" Sent %ld bytes, received %ld bytes", tx_total, rx_total);
tio_printf(" Sent %lu bytes, received %lu bytes", tx_total, rx_total);
*forward = false;
break;
default: