summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-07-04 16:36:03 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-07-09 19:34:03 +0200
commit923c1f275596b97e823023e7020475b9a5258d5e (patch)
tree77c5b0e2d6033023b022d341d838e66b6284f09e
parent4f7070b8d271888ce57529a44f5c4b69cc894135 (diff)
vm: fix panic message
* vm/vm_kern.c (kmem_init): Fix panic message.
-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);
}
}