diff --git a/src/userprog/process.c b/src/userprog/process.c index 301bb66..27a46ba 100644 --- a/src/userprog/process.c +++ b/src/userprog/process.c @@ -327,7 +327,7 @@ void process_exit (void) { - printf("(%s) EXIT STATUS: %d\n", thread_name (), thread_current ()->exit_status); + printf("(%d) EXIT STATUS: %d\n", thread_current ()->tid, thread_current ()->exit_status); struct thread *cur = thread_current (); uint32_t *pd;