char line[1024];
int ret;
- while(fgets(line, sizeof(line), file)) {
+ while (fgets(line, sizeof(line), file)) {
struct maps *map = alloc_map();
unsigned long start, end;
char name[1024];
list_add(&match->ml->list, &tmp->list);
}
- if (match->page_present) {
+ if (match->page_present)
map->pages_present++;
- } else if (match->page_swapped) {
+ else if (match->page_swapped)
map->pages_swapped++;
- }
}
}
if (opts->parse_mask & PARSE_PID)
read_pageframe_with_threads(opts->pid, pf, process_list, opts);
- while(1) {
+ while (1) {
pid = get_next_pid(&dir);
if (pid <= 0)
break;