? umastat.c.0.patch Index: umastat.c =================================================================== RCS file: /home/ncvs/src/tools/tools/umastat/umastat.c,v retrieving revision 1.3 diff -u -r1.3 umastat.c --- umastat.c 8 Dec 2005 13:33:12 -0000 1.3 +++ umastat.c 5 Mar 2006 13:45:43 -0000 @@ -326,7 +326,7 @@ * it is statically declared as an array of size 1, so we need to * provide additional space. */ - uzp_userspace_len = sizeof(struct uma_zone) + (mp_maxid - 1) * + uzp_userspace_len = sizeof(struct uma_zone) + mp_maxid * sizeof(struct uma_cache); uzp_userspace = malloc(uzp_userspace_len); if (uzp_userspace == NULL)