Date: Wed, 12 Feb 2014 19:07:59 +0000 (UTC) From: Navdeep Parhar <np@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r261804 - head/sys/sys Message-ID: <201402121907.s1CJ7x7Y037107@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: np Date: Wed Feb 12 19:07:59 2014 New Revision: 261804 URL: http://svnweb.freebsd.org/changeset/base/261804 Log: Provide additional information in some panic strings. MFC after: 1 week Modified: head/sys/sys/mbuf.h Modified: head/sys/sys/mbuf.h ============================================================================== --- head/sys/sys/mbuf.h Wed Feb 12 18:55:26 2014 (r261803) +++ head/sys/sys/mbuf.h Wed Feb 12 19:07:59 2014 (r261804) @@ -531,7 +531,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); @@ -580,7 +580,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); @@ -725,7 +725,7 @@ m_cljset(struct mbuf *m, void *cl, int t zone = zone_jumbo16; break; default: - panic("%s: unknown cluster type", __func__); + panic("%s: unknown cluster type %d", __func__, type); break; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402121907.s1CJ7x7Y037107>