Commit 2fb3ed2c authored by Heinrich Schuchardt's avatar Heinrich Schuchardt
Browse files

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

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

Fixes: c670aeee

 ("common: rename getc() to getchar()")
Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent 22ad69b7
...@@ -19,10 +19,10 @@ static int do_conitrace(struct cmd_tbl *cmdtp, int flag, int argc, ...@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment