ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/src/libstatgrab/os_info.c
(Generate patch)

Comparing projects/libstatgrab/src/libstatgrab/os_info.c (file contents):
Revision 1.7 by ats, Sat Oct 18 22:15:35 2003 UTC vs.
Revision 1.8 by ats, Sat Oct 18 23:04:23 2003 UTC

# Line 99 | Line 99 | general_stat_t *get_general_stats(){
99          fclose(f);
100   #endif
101   #ifdef FREEBSD
102 +        size = sizeof boottime;
103          if (sysctlbyname("kern.boottime", &boottime, &size, NULL, 0) < 0){
104                  return NULL;
105          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines