mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-24 04:34:22 +08:00
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 */
|
||||
while (tstc())
|
||||
getc();
|
||||
getchar();
|
||||
|
||||
for (;;) {
|
||||
int c = getc();
|
||||
int c = getchar();
|
||||
|
||||
if (first && (c == 'x' || c == 'X'))
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user