summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-04 19:41:18 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-04 19:41:18 +0000
commitae546e01bcbd5d4b46bb28c02df9f4a067e01b54 (patch)
treedffe9fe45970fcefcdeac3afae61bb1a89b21405 /sys
parentdd0ca6422ebc60e01d5fda64beb047649e2c7e74 (diff)
improve a panic message
Diffstat (limited to 'sys')
-rw-r--r--sys/uvm/uvm_swap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_swap.c b/sys/uvm/uvm_swap.c
index 202e699dde2..a27a2b0d337 100644
--- a/sys/uvm/uvm_swap.c
+++ b/sys/uvm/uvm_swap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_swap.c,v 1.117 2013/11/02 04:14:13 deraadt Exp $ */
+/* $OpenBSD: uvm_swap.c,v 1.118 2013/11/04 19:41:17 deraadt Exp $ */
/* $NetBSD: uvm_swap.c,v 1.40 2000/11/17 11:39:39 mrg Exp $ */
/*
@@ -982,7 +982,7 @@ swap_on(struct proc *p, struct swapdev *sdp)
/* allocate the `saved' region from the extent so it won't be used */
if (addr) {
if (extent_alloc_region(sdp->swd_ex, 0, addr, EX_WAITOK))
- panic("disklabel region");
+ panic("disklabel reserve");
}
/*