]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kern/hibernate.c
xnu-6153.11.26.tar.gz
[apple/xnu.git] / osfmk / kern / hibernate.c
index 9e0cd1e960c3bb09c1615eb80f98c05de5642aa5..71ef32fae90d152b3a292ac3f45864bb12f007dd 100644 (file)
@@ -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;
        }