]> git.pld-linux.org Git - packages/procps.git/blame - proc-err.patch
- up to 20110915
[packages/procps.git] / proc-err.patch
CommitLineData
4d63082b 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;
This page took 0.036053 seconds and 4 git commands to generate.