]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/vm/vnode_pager.c
xnu-1228.5.18.tar.gz
[apple/xnu.git] / bsd / vm / vnode_pager.c
index e53ae4e157ca6a076e602827a83b3f885f05f360..c35f33369dfe15107d31c47a6533e5fc355ddf40 100644 (file)
@@ -379,9 +379,9 @@ vnode_pagein(
                goto out;
        }
        if (upl == (upl_t)NULL) {
-               if (size > (MAX_UPL_TRANSFER * PAGE_SIZE)) {
+               if (size > (MAX_UPL_SIZE * PAGE_SIZE)) {
 
-                 panic("vnode_pagein: size = %x\n", size);
+                       panic("vnode_pagein: size = %x\n", size);
 
                        result = PAGER_ERROR;
                        error  = PAGER_ERROR;
@@ -391,7 +391,7 @@ vnode_pagein(
 
                if (upl == (upl_t)NULL) {
 
-                 panic("vnode_pagein: ubc_create_upl failed\n");
+                       panic("vnode_pagein: ubc_create_upl failed\n");
 
                        result =  PAGER_ABSENT;
                        error = PAGER_ABSENT;