summaryrefslogtreecommitdiff
path: root/arch/x86/machine/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/machine/cpu.c')
-rw-r--r--arch/x86/machine/cpu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/machine/cpu.c b/arch/x86/machine/cpu.c
index fc8fde3f..225f6483 100644
--- a/arch/x86/machine/cpu.c
+++ b/arch/x86/machine/cpu.c
@@ -445,8 +445,7 @@ cpu_show_thread(void)
thread = thread_self();
- /* TODO Thread name accessor */
- printf("cpu: interrupted thread: %p (%s)\n", thread, thread->name);
+ printf("cpu: interrupted thread: %p (%s)\n", thread, thread_name(thread));
}
#ifdef __LP64__