From 2fb3ed2cbc5012718c9cfbfae7fcf87daa000e9b Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Fri, 23 Oct 2020 12:46:04 +0200 Subject: [PATCH] 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 --- cmd/conitrace.c | 4 ++-- 1 file 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; -- 2.39.5