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

vipulrahane pushed a commit to branch vipul/logging_num_entries
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git

commit 5851c5db79678655b9d5af76051db027eab0f45f
Author: Vipul Rahane <[email protected]>
AuthorDate: Wed Apr 3 10:09:37 2024 -0700

    sys/log: Fix CI error
---
 sys/log/full/src/log_shell.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/log/full/src/log_shell.c b/sys/log/full/src/log_shell.c
index e01350aab..d9042542c 100644
--- a/sys/log/full/src/log_shell.c
+++ b/sys/log/full/src/log_shell.c
@@ -190,7 +190,7 @@ shell_log_dump_cmd(int argc, char **argv)
         } else if (num_entries) {
             rc = log_get_entries(log, log_limit, &entries);
             if (!rc) {
-                console_printf("entries: %lu\n", entries);
+                console_printf("entries: %u\n", entries);
             } else if (rc == SYS_ENOTSUP) {
                 console_printf("Number of entries not supported!\n");
             } else {

Reply via email to