diff options
Diffstat (limited to 'vm/page.c')
| -rw-r--r-- | vm/page.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -69,7 +69,7 @@ page_table_insert (struct hash *ht, struct page_table_entry *pte) | |||
| 69 | returns false if entry is invalid or already in the table */ | 69 | returns false if entry is invalid or already in the table */ |
| 70 | bool | 70 | bool |
| 71 | page_table_insert_segment (struct hash *ht, struct file *file, off_t ofs, | 71 | page_table_insert_segment (struct hash *ht, struct file *file, off_t ofs, |
| 72 | uint8_t *upage, uint32_t read_bytes, bool writable) | 72 | void *upage, uint32_t read_bytes, bool writable) |
| 73 | { | 73 | { |
| 74 | struct page_table_entry *pte = malloc (sizeof *pte); | 74 | struct page_table_entry *pte = malloc (sizeof *pte); |
| 75 | if (pte == NULL) | 75 | if (pte == NULL) |
