Commit Diff


commit - 41499e1536a5972223b1e902fad04b7f5f451935
commit + 87295e3641fd4f47c78cbf982106f5df37fd706c
blob - d339af083a825dd6016a0ddb1fcef2490bde9843
blob + 982104664ea1a3714e2882c16a35aa971066e1a9
--- stats.c
+++ stats.c
@@ -852,7 +852,7 @@ mbpr(void)
 	for (mp = mbtypes; mp->mt_name; mp++)
 		if (mbstat.m_mtypes[mp->mt_type]) {
 			seen[mp->mt_type] = YES;
-			printf("\t\t%u mbuf%s allocated to %s\n",
+			printf("\t\t%lu mbuf%s allocated to %s\n",
 			    mbstat.m_mtypes[mp->mt_type],
 			    plural((int)mbstat.m_mtypes[mp->mt_type]),
 			    mp->mt_name);
@@ -860,7 +860,7 @@ mbpr(void)
 	seen[MT_FREE] = YES;
 	for (i = 0; i < nmbtypes; i++)
 		if (!seen[i] && mbstat.m_mtypes[i]) {
-			printf("\t\t%u mbuf%s allocated to <mbuf type %d>\n",
+			printf("\t\t%lu mbuf%s allocated to <mbuf type %d>\n",
 			    mbstat.m_mtypes[i],
 			    plural((int)mbstat.m_mtypes[i]), i);
 		}