diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-10-23 12:46:04 +0200 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-11-09 17:28:17 +0100 |
commit | 2fb3ed2cbc5012718c9cfbfae7fcf87daa000e9b (patch) | |
tree | b780a8bfae098c7f036b1542320bb3d20d8e9630 /cmd | |
parent | 22ad69b7987eb4b10221330661db4427e40174fb (diff) | |
download | u-boot-2fb3ed2cbc5012718c9cfbfae7fcf87daa000e9b.tar.gz |
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 <xypron.glpk@gmx.de>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/conitrace.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |