Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Bump size of scratchstr - some KASSERTMGS exceed 25...



details:   https://anonhg.NetBSD.org/src/rev/5798f45d9f98
branches:  trunk
changeset: 346679:5798f45d9f98
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Jul 27 09:57:26 2016 +0000

description:
Bump size of scratchstr - some KASSERTMGS exceed 256 characters

diffstat:

 sys/kern/subr_prf.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ca8d9c6af183 -r 5798f45d9f98 sys/kern/subr_prf.c
--- a/sys/kern/subr_prf.c       Wed Jul 27 09:32:35 2016 +0000
+++ b/sys/kern/subr_prf.c       Wed Jul 27 09:57:26 2016 +0000
@@ -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 @@
        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();
 



Home | Main Index | Thread Index | Old Index