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

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

commit e6931a63dd5c090adb5be2d25a117399b7484ee2
Author: Yanfeng Liu <[email protected]>
AuthorDate: Fri Oct 24 10:57:15 2025 +0800

    kasan_report: fix spacing
    
    Current kasan dump exceeds 80 cols thus is not easy with standard
    terminal. This makes it fit in 80 cols.
    
    Signed-off-by: Yanfeng Liu <[email protected]>
---
 mm/kasan/hook.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/kasan/hook.c b/mm/kasan/hook.c
index d7eef268082..7230a557a73 100644
--- a/mm/kasan/hook.c
+++ b/mm/kasan/hook.c
@@ -146,7 +146,7 @@ static void kasan_show_memory(FAR const uint8_t *addr, 
size_t size,
   _alert("Shadow bytes around the buggy address:\n");
   for (p = start; p < end; p += 16)
     {
-      int ret = sprintf(buffer, "  %p: ", p);
+      int ret = sprintf(buffer, "%p: ", p);
       int i;
 
       for (i = 0; i < 16; i++)

Reply via email to