icu/abi: Fix typo
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 18 Mar 2011 14:08:44 +0000 (22:08 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 18 Mar 2011 14:08:44 +0000 (22:08 +0800)
sys/platform/pc64/icu/icu_abi.c

index 1004bc7..dbda85e 100644 (file)
@@ -308,7 +308,7 @@ icu_initmap(void)
                        }
                }
        }
-       icu_irqmaps[i].im_type = ICU_IMT_SYSCALL;
+       icu_irqmaps[IDT_OFFSET_SYSCALL - IDT_OFFSET].im_type = ICU_IMT_SYSCALL;
 }
 
 static void