cmd: conitrace: replace getc() by getchar()

This command was missed when renaming getc() to getchar().

Fixes: c670aeee3d ("common: rename getc() to getchar()")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
Heinrich Schuchardt 2020-10-23 12:46:04 +02:00
parent 22ad69b798
commit 2fb3ed2cbc

View File

@ -19,10 +19,10 @@ static int do_conitrace(struct cmd_tbl *cmdtp, int flag, int argc,
/* Empty input buffer */
while (tstc())
getc();
getchar();
for (;;) {
int c = getc();
int c = getchar();
if (first && (c == 'x' || c == 'X'))
break;