1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00

Provide additional information in some panic strings.

MFC after:	1 week
This commit is contained in:
Navdeep Parhar 2014-02-12 19:07:59 +00:00
parent bcaa399985
commit 2c566b9c4e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=261804

View File

@ -531,7 +531,7 @@ m_gettype(int size)
type = EXT_JUMBO16; type = EXT_JUMBO16;
break; break;
default: default:
panic("%s: invalid cluster size", __func__); panic("%s: invalid cluster size %d", __func__, size);
} }
return (type); return (type);
@ -580,7 +580,7 @@ m_getzone(int size)
zone = zone_jumbo16; zone = zone_jumbo16;
break; break;
default: default:
panic("%s: invalid cluster size", __func__); panic("%s: invalid cluster size %d", __func__, size);
} }
return (zone); return (zone);
@ -725,7 +725,7 @@ m_cljset(struct mbuf *m, void *cl, int type)
zone = zone_jumbo16; zone = zone_jumbo16;
break; break;
default: default:
panic("%s: unknown cluster type", __func__); panic("%s: unknown cluster type %d", __func__, type);
break; break;
} }