These were reported by the checkpatch.pl script
Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
char line[1024];
int ret;
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];
struct maps *map = alloc_map();
unsigned long start, end;
char name[1024];
list_add(&match->ml->list, &tmp->list);
}
list_add(&match->ml->list, &tmp->list);
}
- if (match->page_present) {
+ if (match->page_present)
- } else if (match->page_swapped) {
+ else if (match->page_swapped)
if (opts->parse_mask & PARSE_PID)
read_pageframe_with_threads(opts->pid, pf, process_list, opts);
if (opts->parse_mask & PARSE_PID)
read_pageframe_with_threads(opts->pid, pf, process_list, opts);
pid = get_next_pid(&dir);
if (pid <= 0)
break;
pid = get_next_pid(&dir);
if (pid <= 0)
break;