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:
parent
22ad69b798
commit
2fb3ed2cbc
|
|
@ -19,10 +19,10 @@ static int do_conitrace(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||||
|
|
||||||
/* Empty input buffer */
|
/* Empty input buffer */
|
||||||
while (tstc())
|
while (tstc())
|
||||||
getc();
|
getchar();
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
int c = getc();
|
int c = getchar();
|
||||||
|
|
||||||
if (first && (c == 'x' || c == 'X'))
|
if (first && (c == 'x' || c == 'X'))
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue