svn commit: r265416 - stable/10/sys/sys
Navdeep Parhar
np at FreeBSD.org
Tue May 6 03:05:15 UTC 2014
Author: np
Date: Tue May 6 03:05:14 2014
New Revision: 265416
URL: http://svnweb.freebsd.org/changeset/base/265416
Log:
MFC r261804:
Provide additional information in some panic strings.
Modified:
stable/10/sys/sys/mbuf.h
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/sys/mbuf.h
==============================================================================
--- stable/10/sys/sys/mbuf.h Tue May 6 03:02:02 2014 (r265415)
+++ stable/10/sys/sys/mbuf.h Tue May 6 03:05:14 2014 (r265416)
@@ -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 t
zone = zone_jumbo16;
break;
default:
- panic("%s: unknown cluster type", __func__);
+ panic("%s: unknown cluster type %d", __func__, type);
break;
}
More information about the svn-src-stable
mailing list