summaryrefslogtreecommitdiff
path: root/v/vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'v/vm.c')
-rw-r--r--v/vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/v/vm.c b/v/vm.c
index deb46c2..0051963 100644
--- a/v/vm.c
+++ b/v/vm.c
@@ -159,7 +159,7 @@ void handle_trap(trapframe_t* tf)
{
if (tf->cause == CAUSE_SYSCALL)
{
- int n = tf->gpr[18];
+ int n = tf->gpr[10];
for (long i = 1; i < MAX_TEST_PAGES; i++)
evict(i*PGSIZE);