From 27adec56fa43b7ecbcf671e8ae4d6ebab2a14284 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Wed, 15 Apr 2020 16:46:35 +0000 Subject: Fix panic message. ok millert@, deraadt@ --- sys/kern/vfs_biomem.c | 4 ++-- 1 file 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 @@ -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 */ -- cgit v1.2.3