From 013a93008221c7700f5119cb8238dca8f2fa5fcd Mon Sep 17 00:00:00 2001 From: Randall Spangler Date: Thu, 10 May 2012 12:41:50 -0700 Subject: [PATCH] Fix truncated output from 'ch' command Signed-off-by: Randall Spangler BUG=none TEST='ch' - prints all the channels now Change-Id: I38ebc3eed2476c44c26fc00d6ea79800ae427722 --- common/console.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/console.c b/common/console.c index 92e99d02b8..da309b5936 100644 --- a/common/console.c +++ b/common/console.c @@ -269,6 +269,7 @@ static int command_ch(int argc, char **argv) i, 1 << i, (channel_mask & (1 << i) ? '*' : ' '), channel_names[i]); + cflush(); } return EC_SUCCESS; }