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

Diff for /src/usr.bin/systat/vmstat.c between version 1.12 and 1.13

version 1.12, 1997/12/19 09:03:34 version 1.13, 1997/12/19 09:22:56
Line 298 
Line 298 
         time_t now;          time_t now;
   
         time(&now);          time(&now);
         strcpy(buf, ctime(&now));          strncpy(buf, ctime(&now), sizeof buf-1);
           buf[sizeof buf-1] = '\0';
         getinfo(&s, state);          getinfo(&s, state);
 }  }
   

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13