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

Comparing projects/libstatgrab/src/libstatgrab/process_stats.c (file contents):
Revision 1.38 by ats, Sun Apr 4 21:40:55 2004 UTC vs.
Revision 1.39 by ats, Sun Apr 4 21:42:44 2004 UTC

# Line 464 | Line 464 | process_stat_t *get_process_stats() {
464  
465          ps_size = get_proc_snapshot(&ps);
466  
467 <        if(ps_size == NULL) {
467 >        if(ps_size == 0) {
468                  return NULL;
469          }
470  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines