summaryrefslogtreecommitdiffstats
path: root/ProcessList.h
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2007-05-17 18:29:30 +0000
committerHisham Muhammad <hisham@gobolinux.org>2007-05-17 18:29:30 +0000
commit9710a4300181927c6f4b9e34e23b1588dbb07f84 (patch)
tree4ce5bf5760aa061f93bce016a2938757ccbc4736 /ProcessList.h
parentdf20abfd672d033ac62c4d9245b8bb89fc76be94 (diff)
Fixes for /proc location, submitted by Florent Thoumie
Diffstat (limited to 'ProcessList.h')
-rw-r--r--ProcessList.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ProcessList.h b/ProcessList.h
index 1cd7b8bd..8707ce42 100644
--- a/ProcessList.h
+++ b/ProcessList.h
@@ -39,11 +39,11 @@ in the source distribution for its full text.
#endif
#ifndef PROCSTATFILE
-#define PROCSTATFILE "/proc/stat"
+#define PROCSTATFILE PROCDIR "/stat"
#endif
#ifndef PROCMEMINFOFILE
-#define PROCMEMINFOFILE "/proc/meminfo"
+#define PROCMEMINFOFILE PROCDIR "/meminfo"
#endif
#ifndef MAX_NAME

© 2014-2024 Faster IT GmbH | imprint | privacy policy