diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2009-03-11 13:05:19 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2009-03-11 13:05:19 +0000 |
commit | b93e5c00b6cad873942a2709f990a0626d98e7be (patch) | |
tree | 83bdb32bd7be80880860e86013fbad251f4a5447 /ProcessList.c | |
parent | 10213f3ea122d89da965b49fa263f32ae68218e1 (diff) |
Rename VEID to CTID in OpenVZ systems
(thanks to Thorsten Schifferdecker)
Diffstat (limited to 'ProcessList.c')
-rw-r--r-- | ProcessList.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ProcessList.c b/ProcessList.c index 0ac015fd..4ffd80da 100644 --- a/ProcessList.c +++ b/ProcessList.c @@ -621,7 +621,7 @@ static bool ProcessList_processEntries(ProcessList* this, char* dirname, Process #ifdef HAVE_OPENVZ if (access("/proc/vz", R_OK) != 0) { process->vpid = process->pid; - process->veid = 0; + process->ctid = 0; } else { snprintf(statusfilename, MAX_NAME, "%s/%s/stat", dirname, name); status = ProcessList_fopen(this, statusfilename, "r"); @@ -635,7 +635,7 @@ static bool ProcessList_processEntries(ProcessList* this, char* dirname, Process "%*u %*u %*u %*u %*u %*u %*u %*u " "%*u %*u %*u %*u %*u %*u %*u " "%*u %*u %u %u", - &process->vpid, &process->veid); + &process->vpid, &process->ctid); fclose(status); } #endif |