Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
hestati63 committed Jun 15, 2020
1 parent 9d0ff70 commit ff6faac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/vm/mmap-bad-fd3.ck
Original file line number Diff line number Diff line change
Expand Up @@ -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;
3 changes: 1 addition & 2 deletions vm/vm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ff6faac

Please sign in to comment.