You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/05/12 06:55:39 UTC

[incubator-nuttx-apps] 01/03: system/sched_note: fix build break

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/incubator-nuttx-apps.git

commit 8ce86fe572b6a8ae5439136baaa97a6f27810e41
Author: chao.an <an...@xiaomi.com>
AuthorDate: Mon May 9 12:10:28 2022 +0800

    system/sched_note: fix build break
    
    Signed-off-by: chao.an <an...@xiaomi.com>
---
 system/sched_note/note_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/system/sched_note/note_main.c b/system/sched_note/note_main.c
index 352a6d502..a8222787e 100644
--- a/system/sched_note/note_main.c
+++ b/system/sched_note/note_main.c
@@ -121,7 +121,7 @@ static void dump_notes(size_t nread)
   while (offset < nread)
     {
       note    = (FAR struct note_common_s *)&g_note_buffer[offset];
-      trace_dump_unflatten(&pid, note->note->nc_pid, sizeof(pid));
+      trace_dump_unflatten(&pid, note->nc_pid, sizeof(pid));
 #ifdef CONFIG_SCHED_INSTRUMENTATION_HIRES
       trace_dump_unflatten(&systime_nsec,
                            note->nc_systime_nsec, sizeof(systime_nsec));