summaryrefslogtreecommitdiffstats
path: root/linux
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2015-08-12 17:08:26 -0300
committerHisham Muhammad <hisham@gobolinux.org>2015-08-12 17:08:26 -0300
commite42d78007e2e77fda20b654681f4038ba43ee9cc (patch)
tree533ffb311e3f0f3305bd1e15992d55100cbffb09 /linux
parentc33d32e66b80da0558da3fdfbfc2fe03cf5f4114 (diff)
parent1bdee6b6ba559fdd9ab0c4240cef450e37112335 (diff)
Merge pull request #230 from maksqwe/cstime_fix
Fix sort by cstime
Diffstat (limited to 'linux')
-rw-r--r--linux/LinuxProcess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/LinuxProcess.c b/linux/LinuxProcess.c
index 8a997862..16e7f55b 100644
--- a/linux/LinuxProcess.c
+++ b/linux/LinuxProcess.c
@@ -390,7 +390,7 @@ long LinuxProcess_compare(const void* v1, const void* v2) {
case UTIME: diff = p2->utime - p1->utime; goto test_diff;
case CUTIME: diff = p2->cutime - p1->cutime; goto test_diff;
case STIME: diff = p2->stime - p1->stime; goto test_diff;
- case CSTIME: diff = p2->cstime - p2->cstime; goto test_diff;
+ case CSTIME: diff = p2->cstime - p1->cstime; goto test_diff;
#ifdef HAVE_TASKSTATS
case RCHAR: diff = p2->io_rchar - p1->io_rchar; goto test_diff;
case WCHAR: diff = p2->io_wchar - p1->io_wchar; goto test_diff;

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