diff options
Diffstat (limited to 'LibCore/CProcessStatisticsReader.cpp')
-rw-r--r-- | LibCore/CProcessStatisticsReader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LibCore/CProcessStatisticsReader.cpp b/LibCore/CProcessStatisticsReader.cpp index 1a80f306c3..439ec36e13 100644 --- a/LibCore/CProcessStatisticsReader.cpp +++ b/LibCore/CProcessStatisticsReader.cpp @@ -1,8 +1,8 @@ #include "CProcessStatisticsReader.h" #include "CFile.h" -#include <stdio.h> #include <pwd.h> +#include <stdio.h> CProcessStatisticsReader::CProcessStatisticsReader() { @@ -64,7 +64,7 @@ void CProcessStatisticsReader::update_map(HashMap<pid_t, CProcessStatistics>& ma process.username = get_username_from_uid(uid); process.priority = parts[16]; - + process.syscalls = parts[17].to_uint(ok); if (!ok) { fprintf(stderr, "CProcessHelper : couldn't convert %s to a valid syscalls count value\n", parts[17].characters()); |