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++; } /****************************************************************************