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-11-09 17:28:17 +01:00
parent 22ad69b798
commit 2fb3ed2cbc
+2 -2
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;