...and the correct struct name.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26290 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol 2008-07-07 11:31:40 +00:00
parent 26e45f0523
commit 0cd3ea3e50

View File

@ -84,7 +84,7 @@ m68k_get_user_iframe(void)
for (i = thread->arch_info.iframes.index - 1; i >= 0; i--) {
struct iframe *frame = thread->arch_info.iframes.frames[i];
if (frame->sr & (1 << M68K_SR_S) == 0)
if (frame->cpu.sr & (1 << M68K_SR_S) == 0)
return frame;
}