mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
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:
parent
9a66de0aff
commit
f2fe52b600
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue