[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.6 and 1.7

version 1.6, 2001/11/19 19:02:16 version 1.7, 2001/11/23 22:20:06
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.6  
changed lines
  Added in v.1.7