diff --git a/tests/vm/mmap-bad-fd3.ck b/tests/vm/mmap-bad-fd3.ck index 8f6705e..e7c65e6 100644 --- a/tests/vm/mmap-bad-fd3.ck +++ b/tests/vm/mmap-bad-fd3.ck @@ -10,6 +10,6 @@ mmap-bad-fd3: exit(0) EOF (mmap-bad-fd3) begin (mmap-bad-fd3) try to mmap stdout -mmap-bad-fd: exit(-1) +mmap-bad-fd3: exit(-1) EOF pass; diff --git a/vm/vm.c b/vm/vm.c index 5ea5a21..94d58f9 100644 --- a/vm/vm.c +++ b/vm/vm.c @@ -39,8 +39,7 @@ static struct frame *vm_evict_frame (void); /* Create the pending page object with initializer. If you want to create a * page, do not create it directly and make it through this function or - * `vm_alloc_page`. - * DO NOT MODIFY THIS FUNCTION. */ + * `vm_alloc_page`. */ bool vm_alloc_page_with_initializer (enum vm_type type, void *upage, bool writable, vm_initializer *init, void *aux) {