summaryrefslogtreecommitdiffstats
path: root/ProcessList.c
diff options
context:
space:
mode:
authoryar <yardenack@gmail.com>2014-05-04 09:43:45 -0700
committeryar <yardenack@gmail.com>2014-05-04 09:43:45 -0700
commit730ab0c9a88cf329e4f51d4ec75dcd0f3e0ef28f (patch)
treee4ccf6614ec5fdb41b6f42a7a906794aeac8a211 /ProcessList.c
parentff6cddfd164b88627e704b9deae9a5b935d68e19 (diff)
pass processlist flags to readOpenVZData (fixes build error)
Diffstat (limited to 'ProcessList.c')
-rw-r--r--ProcessList.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ProcessList.c b/ProcessList.c
index 46dc0a6b..7559623c 100644
--- a/ProcessList.c
+++ b/ProcessList.c
@@ -584,7 +584,7 @@ static bool ProcessList_readStatmFile(Process* process, const char* dirname, con
#ifdef HAVE_OPENVZ
-static void ProcessList_readOpenVZData(Process* process, const char* dirname, const char* name) {
+static void ProcessList_readOpenVZData(ProcessList* this, Process* process, const char* dirname, const char* name) {
if ( (!(this->flags & PROCESS_FLAG_OPENVZ)) || (access("/proc/vz", R_OK) != 0)) {
process->vpid = process->pid;
process->ctid = 0;
@@ -812,7 +812,7 @@ static bool ProcessList_processEntries(ProcessList* this, const char* dirname, P
process->user = UsersTable_getRef(this->usersTable, process->st_uid);
#ifdef HAVE_OPENVZ
- ProcessList_readOpenVZData(process, dirname, name);
+ ProcessList_readOpenVZData(this, process, dirname, name);
#endif
#ifdef HAVE_VSERVER

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