diff --git a/arch/arm/src/common/arm_exit.c b/arch/arm/src/common/arm_exit.c index 18d69ecbd9..6f4c84d227 100644 --- a/arch/arm/src/common/arm_exit.c +++ b/arch/arm/src/common/arm_exit.c @@ -71,7 +71,7 @@ static void _up_dumponexit(FAR struct tcb_s *tcb, FAR void *arg) int i; int j; - sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->argv[0], tcb->pid); + sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->name, tcb->pid); sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state); filelist = tcb->group->tg_filelist; diff --git a/arch/avr/src/common/up_exit.c b/arch/avr/src/common/up_exit.c index db7ffe621a..201248dcd0 100644 --- a/arch/avr/src/common/up_exit.c +++ b/arch/avr/src/common/up_exit.c @@ -70,7 +70,7 @@ static void _up_dumponexit(FAR struct tcb_s *tcb, FAR void *arg) int i; int j; - sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->argv[0], tcb->pid); + sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->name, tcb->pid); sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state); filelist = tcb->group->tg_filelist; diff --git a/arch/hc/src/common/up_exit.c b/arch/hc/src/common/up_exit.c index fc6182b7a9..b9abf90c7f 100644 --- a/arch/hc/src/common/up_exit.c +++ b/arch/hc/src/common/up_exit.c @@ -70,7 +70,7 @@ static void _up_dumponexit(FAR struct tcb_s *tcb, FAR void *arg) int i; int j; - sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->argv[0], tcb->pid); + sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->name, tcb->pid); sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state); filelist = tcb->group->tg_filelist; diff --git a/arch/mips/src/common/mips_exit.c b/arch/mips/src/common/mips_exit.c index f4791a6043..4e6ae41445 100644 --- a/arch/mips/src/common/mips_exit.c +++ b/arch/mips/src/common/mips_exit.c @@ -72,7 +72,7 @@ static void _up_dumponexit(FAR struct tcb_s *tcb, FAR void *arg) int i; int j; - sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->argv[0], tcb->pid); + sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->name, tcb->pid); sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state); filelist = tcb->group->tg_filelist; diff --git a/arch/misoc/src/lm32/lm32_exit.c b/arch/misoc/src/lm32/lm32_exit.c index dc9f2cfdf7..d9f24846ff 100644 --- a/arch/misoc/src/lm32/lm32_exit.c +++ b/arch/misoc/src/lm32/lm32_exit.c @@ -64,7 +64,7 @@ static void _up_dumponexit(FAR struct tcb_s *tcb, FAR void *arg) int i; int j; - sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->argv[0], tcb->pid); + sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->name, tcb->pid); sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state); filelist = tcb->group->tg_filelist; diff --git a/arch/misoc/src/minerva/minerva_exit.c b/arch/misoc/src/minerva/minerva_exit.c index c4730c7917..30e675c379 100644 --- a/arch/misoc/src/minerva/minerva_exit.c +++ b/arch/misoc/src/minerva/minerva_exit.c @@ -64,7 +64,7 @@ static void _up_dumponexit(FAR struct tcb_s *tcb, FAR void *arg) int i; int j; - sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->argv[0], tcb->pid); + sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->name, tcb->pid); sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state); filelist = tcb->group->tg_filelist; diff --git a/arch/or1k/src/common/up_exit.c b/arch/or1k/src/common/up_exit.c index 5616ae16ba..2710c2bb5d 100644 --- a/arch/or1k/src/common/up_exit.c +++ b/arch/or1k/src/common/up_exit.c @@ -71,7 +71,7 @@ static void _up_dumponexit(FAR struct tcb_s *tcb, FAR void *arg) int i; int j; - sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->argv[0], tcb->pid); + sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->name, tcb->pid); sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state); filelist = tcb->group->tg_filelist; diff --git a/arch/renesas/src/common/up_exit.c b/arch/renesas/src/common/up_exit.c index 07f9b5baeb..28c552f26e 100644 --- a/arch/renesas/src/common/up_exit.c +++ b/arch/renesas/src/common/up_exit.c @@ -70,7 +70,7 @@ static void _up_dumponexit(FAR struct tcb_s *tcb, FAR void *arg) int i; int j; - sinfo(" TCB=%p name=%s\n", tcb, tcb->argv[0]); + sinfo(" TCB=%p name=%s\n", tcb, tcb->name); sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state); filelist = tcb->group->tg_filelist; diff --git a/arch/risc-v/src/common/riscv_exit.c b/arch/risc-v/src/common/riscv_exit.c index 689f5cacfe..681d75437e 100644 --- a/arch/risc-v/src/common/riscv_exit.c +++ b/arch/risc-v/src/common/riscv_exit.c @@ -72,7 +72,7 @@ static void _up_dumponexit(struct tcb_s *tcb, void *arg) int i; int j; - sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->argv[0], tcb->pid); + sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->name, tcb->pid); sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state); filelist = tcb->group->tg_filelist; diff --git a/arch/x86/src/common/up_exit.c b/arch/x86/src/common/up_exit.c index 88cd77c0a2..aab3c4cad5 100644 --- a/arch/x86/src/common/up_exit.c +++ b/arch/x86/src/common/up_exit.c @@ -70,7 +70,7 @@ static void _up_dumponexit(FAR struct tcb_s *tcb, FAR void *arg) int i; int j; - sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->argv[0], tcb->pid); + sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->name, tcb->pid); sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state); filelist = tcb->group->tg_filelist; diff --git a/arch/x86_64/src/common/up_exit.c b/arch/x86_64/src/common/up_exit.c index 7352c45cdb..bfe57a6266 100644 --- a/arch/x86_64/src/common/up_exit.c +++ b/arch/x86_64/src/common/up_exit.c @@ -70,7 +70,7 @@ static void _up_dumponexit(FAR struct tcb_s *tcb, FAR void *arg) int i; int j; - sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->argv[0], tcb->pid); + sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->name, tcb->pid); sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state); filelist = tcb->group->tg_filelist; diff --git a/arch/xtensa/src/common/xtensa_exit.c b/arch/xtensa/src/common/xtensa_exit.c index 5368504317..f19698aee8 100644 --- a/arch/xtensa/src/common/xtensa_exit.c +++ b/arch/xtensa/src/common/xtensa_exit.c @@ -72,7 +72,7 @@ static void _xtensa_dumponexit(struct tcb_s *tcb, void *arg) int i; int j; - sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->argv[0], tcb->pid); + sinfo(" TCB=%p name=%s pid=%d\n", tcb, tcb->name, tcb->pid); sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state); filelist = tcb->group->tg_filelist; diff --git a/arch/z16/src/common/z16_exit.c b/arch/z16/src/common/z16_exit.c index 4e29a34c4d..98d5103161 100644 --- a/arch/z16/src/common/z16_exit.c +++ b/arch/z16/src/common/z16_exit.c @@ -70,7 +70,7 @@ static void _z16_dumponexit(FAR struct tcb_s *tcb, FAR void *arg) int i; int j; - sinfo(" TCB=%p name=%s\n", tcb, tcb->argv[0]); + sinfo(" TCB=%p name=%s\n", tcb, tcb->name); sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state); filelist = tcb->group->tg_filelist; diff --git a/arch/z80/src/common/z80_exit.c b/arch/z80/src/common/z80_exit.c index 6173866427..ce11c04ace 100644 --- a/arch/z80/src/common/z80_exit.c +++ b/arch/z80/src/common/z80_exit.c @@ -72,7 +72,7 @@ static void _up_dumponexit(FAR struct tcb_s *tcb, FAR void *arg) int i; int j; - sinfo(" TCB=%p name=%s\n", tcb, tcb->argv[0]); + sinfo(" TCB=%p name=%s\n", tcb, tcb->name); sinfo(" priority=%d state=%d\n", tcb->sched_priority, tcb->task_state); filelist = tcb->group->tg_filelist;