summaryrefslogtreecommitdiffstats
path: root/libpdbg/p8chip.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpdbg/p8chip.c')
-rw-r--r--libpdbg/p8chip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpdbg/p8chip.c b/libpdbg/p8chip.c
index 51de7b9..8944a72 100644
--- a/libpdbg/p8chip.c
+++ b/libpdbg/p8chip.c
@@ -230,7 +230,7 @@ static int p8_ram_setup(struct thread *thread)
return 1;
}
- if (!(thread_status(thread) & THREAD_STATUS_ACTIVE))
+ if (!(thread->status & THREAD_STATUS_ACTIVE))
return 2;
/* Activate RAM mode */
OpenPOWER on IntegriCloud