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.39 by ats, Sun Apr 4 21:42:44 2004 UTC vs.
Revision 1.40 by ats, Sun Apr 4 21:44:00 2004 UTC

# Line 470 | Line 470 | process_stat_t *get_process_stats() {
470  
471          for(x = 0; x < ps_size; x++) {
472                  switch (ps->state) {
473                /* currently no mapping for UNKNOWN in process_stat_t */
473                  case RUNNING:
474                          process_stat.running++;
475                          break;
# Line 482 | Line 481 | process_stat_t *get_process_stats() {
481                          break;
482                  case ZOMBIE:
483                          process_stat.zombie++;
484 +                        break;
485 +                default:
486 +                        /* currently no mapping for UNKNOWN in process_stat_t */
487                          break;
488                  }
489                  ps++;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines