[BACK]Return to mbufs.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / systat

Diff for /src/usr.bin/systat/mbufs.c between version 1.8 and 1.9

version 1.8, 2001/12/07 07:57:35 version 1.9, 2001/12/07 09:18:08
Line 48 
Line 48 
 #include <stdlib.h>  #include <stdlib.h>
 #include <string.h>  #include <string.h>
 #include <nlist.h>  #include <nlist.h>
   #include <err.h>
 #include <paths.h>  #include <paths.h>
 #include "systat.h"  #include "systat.h"
 #include "extern.h"  #include "extern.h"
Line 107 
Line 108 
         if (mb == 0)          if (mb == 0)
                 return;                  return;
         for (j = 0; j < wnd->_maxy; j++) {          for (j = 0; j < wnd->_maxy; j++) {
                 max = 0, index = -1;                  max = 0, index = -1;
                 for (i = 0; i < wnd->_maxy; i++)                  for (i = 0; i < wnd->_maxy; i++)
                         if (mb->m_mtypes[i] > max) {                          if (mb->m_mtypes[i] > max) {
                                 max = mb->m_mtypes[i];                                  max = mb->m_mtypes[i];

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9