summaryrefslogtreecommitdiffstats
path: root/vm/page.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm/page.c')
-rw-r--r--vm/page.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/page.c b/vm/page.c
index 98120e5..b40382f 100644
--- a/vm/page.c
+++ b/vm/page.c
@@ -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 */
70bool 70bool
71page_table_insert_segment (struct hash *ht, struct file *file, off_t ofs, 71page_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)