X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/0a7de7458d150b5d4dffc935ba399be265ef0a1a..cb3231590a3c94ab4375e2228bd5e86b0cf1ad7e:/osfmk/kern/hibernate.c?ds=sidebyside diff --git a/osfmk/kern/hibernate.c b/osfmk/kern/hibernate.c index 9e0cd1e96..71ef32fae 100644 --- a/osfmk/kern/hibernate.c +++ b/osfmk/kern/hibernate.c @@ -60,13 +60,14 @@ hibernate_alloc_page_lists( page_list = hibernate_page_list_allocate(TRUE); if (!page_list) { + HIBLOG("%s: failed for page_list\n", __FUNCTION__); retval = KERN_RESOURCE_SHORTAGE; goto done; } page_list_wired = hibernate_page_list_allocate(FALSE); if (!page_list_wired) { kfree(page_list, page_list->list_size); - + HIBLOG("%s: failed for page_list_wired\n", __FUNCTION__); retval = KERN_RESOURCE_SHORTAGE; goto done; } @@ -74,7 +75,7 @@ hibernate_alloc_page_lists( if (!page_list_pal) { kfree(page_list, page_list->list_size); kfree(page_list_wired, page_list_wired->list_size); - + HIBLOG("%s: failed for page_list_pal\n", __FUNCTION__); retval = KERN_RESOURCE_SHORTAGE; goto done; }