[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.39 and 1.40

version 1.39, 2015/01/20 18:26:57 version 1.40, 2015/04/18 09:32:59
Line 204 
Line 204 
 read_mb(void)  read_mb(void)
 {  {
         struct kinfo_pool pool;          struct kinfo_pool pool;
         struct ifaddrs *ifap, *ifa;          struct ifaddrs *ifap = NULL, *ifa;
         struct if_info *ifi;          struct if_info *ifi;
         struct if_rxring_info *ifr;          struct if_rxring_info *ifr;
         int mib[4];          int mib[4];
Line 344 
Line 344 
         }          }
   
  exit:   exit:
         freeifaddrs(ifap);          if (ifap)
                   freeifaddrs(ifap);
         return (ret);          return (ret);
 }  }
   

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40