Source-Changes-HG archive

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

[src/trunk]: src/sys/kern More diagnostic



details:   https://anonhg.NetBSD.org/src/rev/f5301f63135d
branches:  trunk
changeset: 964757:f5301f63135d
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Aug 15 09:04:22 2019 +0000

description:
More diagnostic

diffstat:

 sys/kern/subr_extent.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 3353fae93280 -r f5301f63135d sys/kern/subr_extent.c
--- a/sys/kern/subr_extent.c    Thu Aug 15 09:03:09 2019 +0000
+++ b/sys/kern/subr_extent.c    Thu Aug 15 09:04:22 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_extent.c,v 1.88 2019/08/15 09:03:09 skrll Exp $   */
+/*     $NetBSD: subr_extent.c,v 1.89 2019/08/15 09:04:22 skrll Exp $   */
 
 /*-
  * Copyright (c) 1996, 1998, 2007 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_extent.c,v 1.88 2019/08/15 09:03:09 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_extent.c,v 1.89 2019/08/15 09:04:22 skrll Exp $");
 
 #ifdef _KERNEL
 #ifdef _KERNEL_OPT
@@ -647,6 +647,8 @@
        if ((size < 1) || ((size - 1) > (subend - substart))) {
                printf("extent_alloc_subregion: extent `%s', size 0x%lx\n",
                    ex->ex_name, size);
+               printf("extent_alloc_subregion: substart 0x%lx, subend 0x%lx\n",
+                   substart, subend);
                panic("extent_alloc_subregion: bad size");
        }
        if (alignment == 0)



Home | Main Index | Thread Index | Old Index