Bump size of scratchstr - some KASSERTMGS exceed 256 characters

This commit is contained in:
skrll 2016-07-27 09:57:26 +00:00
parent 321454a08d
commit ac3daeaa4c
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: subr_prf.c,v 1.159 2015/08/24 22:50:32 pooka Exp $ */
/* $NetBSD: subr_prf.c,v 1.160 2016/07/27 09:57:26 skrll Exp $ */
/*-
* Copyright (c) 1986, 1988, 1991, 1993
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: subr_prf.c,v 1.159 2015/08/24 22:50:32 pooka Exp $");
__KERNEL_RCSID(0, "$NetBSD: subr_prf.c,v 1.160 2016/07/27 09:57:26 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_ddb.h"
@ -265,7 +265,7 @@ vpanic(const char *fmt, va_list ap)
CPU_INFO_ITERATOR cii;
struct cpu_info *ci, *oci;
int bootopt;
static char scratchstr[256]; /* stores panic message */
static char scratchstr[384]; /* stores panic message */
spldebug_stop();