summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornp <np@FreeBSD.org>2014-05-06 03:05:14 +0000
committernp <np@FreeBSD.org>2014-05-06 03:05:14 +0000
commit34844b41eb78e26d4697cee3a4fdb9a2c16cba5e (patch)
tree8979084ed9ffd9b7748576e6e7b0abad35fbe8e3
parentbb4526b702e59e55e2a8c36e6eed0adb69f7c412 (diff)
downloadFreeBSD-src-34844b41eb78e26d4697cee3a4fdb9a2c16cba5e.zip
FreeBSD-src-34844b41eb78e26d4697cee3a4fdb9a2c16cba5e.tar.gz
MFC r261804:
Provide additional information in some panic strings.
-rw-r--r--sys/sys/mbuf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h
index bc2924a..e1bef3b 100644
--- a/sys/sys/mbuf.h
+++ b/sys/sys/mbuf.h
@@ -539,7 +539,7 @@ m_gettype(int size)
type = EXT_JUMBO16;
break;
default:
- panic("%s: invalid cluster size", __func__);
+ panic("%s: invalid cluster size %d", __func__, size);
}
return (type);
@@ -588,7 +588,7 @@ m_getzone(int size)
zone = zone_jumbo16;
break;
default:
- panic("%s: invalid cluster size", __func__);
+ panic("%s: invalid cluster size %d", __func__, size);
}
return (zone);
@@ -733,7 +733,7 @@ m_cljset(struct mbuf *m, void *cl, int type)
zone = zone_jumbo16;
break;
default:
- panic("%s: unknown cluster type", __func__);
+ panic("%s: unknown cluster type %d", __func__, type);
break;
}
OpenPOWER on IntegriCloud