summaryrefslogtreecommitdiff
path: root/trap.c
diff options
context:
space:
mode:
Diffstat (limited to 'trap.c')
-rw-r--r--trap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trap.c b/trap.c
index bbb2500..fc872e6 100644
--- a/trap.c
+++ b/trap.c
@@ -21,7 +21,7 @@ tvinit(void)
for(i = 0; i < 256; i++){
SETGATE(idt[i], 1, SEG_KCODE << 3, vectors[i], 0);
}
- SETGATE(idt[T_SYSCALL], 1, SEG_KCODE << 3, vectors[48], 3);
+ SETGATE(idt[T_SYSCALL], 1, SEG_KCODE << 3, vectors[T_SYSCALL], 3);
}
void