This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 127527acf609b69f9fe30df9769e466c5dff736e
Author: Xu Xingliang <[email protected]>
AuthorDate: Thu Apr 11 13:54:56 2024 +0800

    libc/stream: increase nput in hexdumpstream
    
    Signed-off-by: Xu Xingliang <[email protected]>
---
 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++;
 }
 
 /****************************************************************************

Reply via email to