mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-06 06:49:53 +02:00
canbusload: flush output at the end of each cycle
When canbusload is piped to another program, the output is queued for several cycles. This patch will flush the output explicitely. Signed-off-by: Kurt Van Dijck <kurt.van.dijck@eia.be>
This commit is contained in:
committed by
Oliver Hartkopp
parent
71bcd74a7d
commit
a4c200efe6
@@ -201,6 +201,7 @@ void printstats(int signo)
|
||||
}
|
||||
|
||||
printf("\n");
|
||||
fflush(stdout);
|
||||
|
||||
alarm(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user