diff options
| author | 2010-08-07 03:50:01 +0000 | |
|---|---|---|
| committer | 2010-08-07 03:50:01 +0000 | |
| commit | 859d5ed4e977cc7c386c854ab9a07632d5d7da87 (patch) | |
| tree | bfb0ed2186cfbc7541ca46a828611ffa7152a02d /sys/uvm/uvm_init.c | |
| parent | No "\n" needed at the end of panic() strings. (diff) | |
| download | wireguard-openbsd-859d5ed4e977cc7c386c854ab9a07632d5d7da87.tar.xz wireguard-openbsd-859d5ed4e977cc7c386c854ab9a07632d5d7da87.zip | |
No "\n" needed at the end of panic() strings.
Bogus chunks pointed out by matthew@ and miod@. No cookies for
marco@ and jasper@.
ok deraadt@ miod@ matthew@ jasper@ macro@
Diffstat (limited to 'sys/uvm/uvm_init.c')
| -rw-r--r-- | sys/uvm/uvm_init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/uvm/uvm_init.c b/sys/uvm/uvm_init.c index b14e5facb3d..fce559d83e5 100644 --- a/sys/uvm/uvm_init.c +++ b/sys/uvm/uvm_init.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_init.c,v 1.27 2010/07/13 16:49:16 deraadt Exp $ */ +/* $OpenBSD: uvm_init.c,v 1.28 2010/08/07 03:50:02 krw Exp $ */ /* $NetBSD: uvm_init.c,v 1.14 2000/06/27 17:29:23 mrg Exp $ */ /* @@ -164,14 +164,14 @@ uvm_init(void) if (uvm_map(kernel_map, &kvm_start, 3 * PAGE_SIZE, NULL, UVM_UNKNOWN_OFFSET, 0, UVM_MAPFLAG(UVM_PROT_NONE, UVM_PROT_NONE, UVM_INH_NONE, UVM_ADV_RANDOM, UVM_FLAG_FIXED))) - panic("uvm_init: cannot reserve dead beef @0x%x\n", DEADBEEF0); + panic("uvm_init: cannot reserve dead beef @0x%x", DEADBEEF0); #endif #ifdef DEADBEEF1 kvm_start = trunc_page(DEADBEEF1) - PAGE_SIZE; if (uvm_map(kernel_map, &kvm_start, 3 * PAGE_SIZE, NULL, UVM_UNKNOWN_OFFSET, 0, UVM_MAPFLAG(UVM_PROT_NONE, UVM_PROT_NONE, UVM_INH_NONE, UVM_ADV_RANDOM, UVM_FLAG_FIXED))) - panic("uvm_init: cannot reserve dead beef @0x%x\n", DEADBEEF1); + panic("uvm_init: cannot reserve dead beef @0x%x", DEADBEEF1); #endif /* * init anonymous memory systems |
