summaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
Diffstat (limited to 'vm')
-rw-r--r--vm/vm_kern.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/vm/vm_kern.c b/vm/vm_kern.c
index 775d8e8..9c0a20b 100644
--- a/vm/vm_kern.c
+++ b/vm/vm_kern.c
@@ -827,7 +827,6 @@ void kmem_init(
/*
* Reserve virtual memory allocated up to this time.
*/
-
if (start != VM_MIN_KERNEL_ADDRESS) {
kern_return_t rc;
vm_offset_t addr = VM_MIN_KERNEL_ADDRESS;
@@ -838,7 +837,7 @@ void kmem_init(
VM_PROT_DEFAULT, VM_PROT_ALL,
VM_INHERIT_DEFAULT);
if (rc)
- panic("%s:%d: vm_map_enter failed (%d)\n", rc);
+ panic("vm_map_enter failed (%d)\n", rc);
}
}