From: Heinrich Schuchardt Date: Fri, 23 Oct 2020 10:46:04 +0000 (+0200) Subject: cmd: conitrace: replace getc() by getchar() X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=2fb3ed2cbc5012718c9cfbfae7fcf87daa000e9b;p=u-boot.git cmd: conitrace: replace getc() by getchar() This command was missed when renaming getc() to getchar(). Fixes: c670aeee3df9 ("common: rename getc() to getchar()") Signed-off-by: Heinrich Schuchardt --- diff --git a/cmd/conitrace.c b/cmd/conitrace.c index 88850db541..811f5c68a9 100644 --- a/cmd/conitrace.c +++ b/cmd/conitrace.c @@ -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;