# | Line 60 | Line 60 | process_stat_t *get_process_stats(){ | |
---|---|---|
60 | if(atoi(dir_entry->d_name) == 0) continue; | |
61 | snprintf(filename, MAX_FILE_LENGTH, "/proc/%s/psinfo", dir_entry->d_name); | |
62 | ||
63 | – | printf("Filename : %s\n", filename); |
63 | if((f=fopen(filename, "r"))==NULL){ | |
64 | /* Open failed.. Process since vanished, or the path was too long. | |
65 | * Ah well, move onwards to the next one */ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |