=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/systat/mbufs.c,v retrieving revision 1.7 retrieving revision 1.8 diff -c -r1.7 -r1.8 *** src/usr.bin/systat/mbufs.c 2001/11/23 22:20:06 1.7 --- src/usr.bin/systat/mbufs.c 2001/12/07 07:57:35 1.8 *************** *** 1,4 **** ! /* $OpenBSD: mbufs.c,v 1.7 2001/11/23 22:20:06 deraadt Exp $ */ /* $NetBSD: mbufs.c,v 1.2 1995/01/20 08:52:02 jtc Exp $ */ /*- --- 1,4 ---- ! /* $OpenBSD: mbufs.c,v 1.8 2001/12/07 07:57:35 pvalchev Exp $ */ /* $NetBSD: mbufs.c,v 1.2 1995/01/20 08:52:02 jtc Exp $ */ /*- *************** *** 38,44 **** #if 0 static char sccsid[] = "@(#)mbufs.c 8.1 (Berkeley) 6/6/93"; #endif ! static char rcsid[] = "$OpenBSD: mbufs.c,v 1.7 2001/11/23 22:20:06 deraadt Exp $"; #endif /* not lint */ #include --- 38,44 ---- #if 0 static char sccsid[] = "@(#)mbufs.c 8.1 (Berkeley) 6/6/93"; #endif ! static char rcsid[] = "$OpenBSD: mbufs.c,v 1.8 2001/12/07 07:57:35 pvalchev Exp $"; #endif /* not lint */ #include *************** *** 48,54 **** #include #include #include - #include #include #include "systat.h" #include "extern.h" --- 48,53 ---- *************** *** 108,114 **** if (mb == 0) return; for (j = 0; j < wnd->_maxy; j++) { ! max = 0, index = -1; for (i = 0; i < wnd->_maxy; i++) if (mb->m_mtypes[i] > max) { max = mb->m_mtypes[i]; --- 107,113 ---- if (mb == 0) return; for (j = 0; j < wnd->_maxy; j++) { ! max = 0, index = -1; for (i = 0; i < wnd->_maxy; i++) if (mb->m_mtypes[i] > max) { max = mb->m_mtypes[i];