# | Line 42 | Line 42 | int main(){ | |
---|---|---|
42 | ||
43 | ps_size = get_proc_snapshot(&ps); | |
44 | ||
45 | < | if(ps_size == NULL){ |
45 | > | if(ps_size < 0){ |
46 | fprintf(stderr, "Failed to get process snapshot\n"); | |
47 | exit(1); | |
48 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |