summaryrefslogtreecommitdiff
path: root/src/VBox/Main/linux/PerformanceLinux.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/Main/linux/PerformanceLinux.cpp')
-rw-r--r--src/VBox/Main/linux/PerformanceLinux.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/VBox/Main/linux/PerformanceLinux.cpp b/src/VBox/Main/linux/PerformanceLinux.cpp
index 1f763e5ba..87e3faa33 100644
--- a/src/VBox/Main/linux/PerformanceLinux.cpp
+++ b/src/VBox/Main/linux/PerformanceLinux.cpp
@@ -1,4 +1,4 @@
-/* $Id: PerformanceLinux.cpp 28800 2010-04-27 08:22:32Z vboxsync $ */
+/* $Id: PerformanceLinux.cpp 29969 2010-06-02 07:31:27Z vboxsync $ */
/** @file
*
@@ -182,6 +182,7 @@ int CollectorLinux::getRawProcessStats(RTPROCESS process, uint64_t *cpuUser, uin
long long unsigned int u64Tmp;
unsigned uTmp;
unsigned long ulTmp;
+ signed long ilTmp;
ULONG u32user, u32kernel;
char buf[80]; /* @todo: this should be tied to max allowed proc name. */
@@ -196,7 +197,7 @@ int CollectorLinux::getRawProcessStats(RTPROCESS process, uint64_t *cpuUser, uin
"%ld %ld %ld %ld %ld %ld %llu %lu %u",
&pid2, buf, &c, &iTmp, &iTmp, &iTmp, &iTmp, &iTmp, &uTmp,
&ulTmp, &ulTmp, &ulTmp, &ulTmp, &u32user, &u32kernel,
- &ulTmp, &ulTmp, &ulTmp, &ulTmp, &ulTmp, &ulTmp, &u64Tmp,
+ &ilTmp, &ilTmp, &ilTmp, &ilTmp, &ilTmp, &ilTmp, &u64Tmp,
&ulTmp, memPagesUsed) == 24)
{
Assert((pid_t)process == pid2);