]>
Commit | Line | Data |
---|---|---|
1 | --- procps-3.2.8/proc/readproc.c~ 2006-06-16 10:18:13.000000000 +0200 | |
2 | +++ procps-3.2.8/proc/readproc.c 2009-10-16 20:32:50.373587035 +0200 | |
3 | @@ -859,7 +859,10 @@ | |
4 | PT->finder = listed_nextpid; | |
5 | }else{ | |
6 | PT->procfs = opendir("/proc"); | |
7 | - if(!PT->procfs) return NULL; | |
8 | + if(!PT->procfs) { | |
9 | + perror("/proc"); | |
10 | + exit(1); | |
11 | + } | |
12 | PT->finder = simple_nextpid; | |
13 | } | |
14 | PT->flags = flags; |