diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2020-04-15 16:46:35 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2020-04-15 16:46:35 +0000 |
commit | 27adec56fa43b7ecbcf671e8ae4d6ebab2a14284 (patch) | |
tree | 843a1927014c2e0a49401df414a370f6d0f74e87 /sys | |
parent | 71f619a0e757c514b3ac01edd4a910ae8d1f89c2 (diff) |
Fix panic message.
ok millert@, deraadt@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/vfs_biomem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_biomem.c b/sys/kern/vfs_biomem.c index 40469fea247..25307fb91e4 100644 --- a/sys/kern/vfs_biomem.c +++ b/sys/kern/vfs_biomem.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_biomem.c,v 1.47 2019/12/08 12:29:42 mpi Exp $ */ +/* $OpenBSD: vfs_biomem.c,v 1.48 2020/04/15 16:46:34 kettenis Exp $ */ /* * Copyright (c) 2007 Artur Grabowski <art@openbsd.org> @@ -44,7 +44,7 @@ buf_mem_init(vsize_t size) if (uvm_map(kernel_map, &buf_kva_start, size, NULL, UVM_UNKNOWN_OFFSET, PAGE_SIZE, UVM_MAPFLAG(PROT_NONE, PROT_NONE, MAP_INHERIT_NONE, MADV_NORMAL, 0))) - panic("bufinit: can't reserve VM for buffers"); + panic("%s: can't reserve VM for buffers", __func__); buf_kva_end = buf_kva_start + size; /* Contiguous mapping */ |