From 127527acf609b69f9fe30df9769e466c5dff736e Mon Sep 17 00:00:00 2001 From: Xu Xingliang Date: Thu, 11 Apr 2024 13:54:56 +0800 Subject: [PATCH] libc/stream: increase nput in hexdumpstream Signed-off-by: Xu Xingliang --- libs/libc/stream/lib_hexdumpstream.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/libc/stream/lib_hexdumpstream.c b/libs/libc/stream/lib_hexdumpstream.c index 7bdcc89177..3207580720 100644 --- a/libs/libc/stream/lib_hexdumpstream.c +++ b/libs/libc/stream/lib_hexdumpstream.c @@ -112,6 +112,8 @@ static void hexdumpstream_putc(FAR struct lib_outstream_s *self, int ch) { hexdumpstream_flush(self); } + + self->nput++; } /****************************************************************************