summaryrefslogtreecommitdiff
path: root/mach-defpager
diff options
context:
space:
mode:
Diffstat (limited to 'mach-defpager')
-rw-r--r--mach-defpager/default_pager.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mach-defpager/default_pager.c b/mach-defpager/default_pager.c
index 53797958..c79a82a6 100644
--- a/mach-defpager/default_pager.c
+++ b/mach-defpager/default_pager.c
@@ -3268,7 +3268,7 @@ S_default_pager_storage_info (mach_port_t pager,
{
kr = vm_allocate(default_pager_self, &addr,
round_page(m * sizeof(*size)), TRUE);
- if (kr != KERN_SUCCESS);
+ if (kr != KERN_SUCCESS)
goto nomemory;
*size = (vm_size_array_t) addr;
}
@@ -3278,7 +3278,7 @@ S_default_pager_storage_info (mach_port_t pager,
{
kr = vm_allocate(default_pager_self, &addr,
round_page(m * sizeof(*free)), TRUE);
- if (kr != KERN_SUCCESS);
+ if (kr != KERN_SUCCESS)
goto nomemory;
*free = (vm_size_array_t) addr;
}
@@ -3288,7 +3288,7 @@ S_default_pager_storage_info (mach_port_t pager,
{
kr = vm_allocate(default_pager_self, &addr,
round_page(len), TRUE);
- if (kr != KERN_SUCCESS);
+ if (kr != KERN_SUCCESS)
goto nomemory;
*name = (data_t) addr;
}