From dbd8df292e1de31e79d29eca91a8dd8861290834 Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Mon, 19 Feb 2001 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 2001-02-19 --- pc/trap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pc/trap.c b/pc/trap.c index 085163f3099e3d7ec4de44e435a7d50a8b443333..be0c7b9e880fb691a754e78b4a3d4e875208fbd8 100644 --- a/pc/trap.c +++ b/pc/trap.c @@ -276,7 +276,7 @@ trap(Ureg* ureg) */ print("cpu%d: spurious interrupt %d, last %d", m->machno, vno, m->lastintr); - for(i = 0; i < 0; i++){ + for(i = 0; i < conf.nmach; i++){ if(!(active.machs & (1<