diff options
Diffstat (limited to 'console')
-rw-r--r-- | console/pager.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/console/pager.c b/console/pager.c index 3568211e..5e13ba48 100644 --- a/console/pager.c +++ b/console/pager.c @@ -169,6 +169,7 @@ user_pager_create (struct user_pager *user_pager, unsigned int npages, mach_port_insert_right (mach_task_self (), user_pager->memobj, user_pager->memobj, MACH_MSG_TYPE_MAKE_SEND); + *user = 0; err = vm_map (mach_task_self (), (vm_address_t *) user, (vm_size_t) npages * vm_page_size, |