]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cmd: conitrace: replace getc() by getchar()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 23 Oct 2020 10:46:04 +0000 (12:46 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 9 Nov 2020 16:28:17 +0000 (17:28 +0100)
This command was missed when renaming getc() to getchar().

Fixes: c670aeee3df9 ("common: rename getc() to getchar()")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
cmd/conitrace.c

index 88850db541f08adc41ba18995f69fab74b6e39fc..811f5c68a9c28f43010e4b914807268137173c37 100644 (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;