libc/stream: increase nput in hexdumpstream

Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
This commit is contained in:
Xu Xingliang 2024-04-11 13:54:56 +08:00 committed by Xiang Xiao
parent 16124b0926
commit 127527acf6
1 changed files with 2 additions and 0 deletions

View File

@ -112,6 +112,8 @@ static void hexdumpstream_putc(FAR struct lib_outstream_s *self, int ch)
{ {
hexdumpstream_flush(self); hexdumpstream_flush(self);
} }
self->nput++;
} }
/**************************************************************************** /****************************************************************************