This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit ee4795884ec145303115ac1bd88878684df46118
Author: Samuel Thibault <[email protected]>
Date:   Mon Dec 19 03:33:59 2016 +0100

    libps: Fix time comparison
    
    * libps/spec.c (ps_cmp_times): Actually compare tv_usec fields of tv1
    and tv2.
---
 libps/spec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libps/spec.c b/libps/spec.c
index d8188d6..bfee34e 100644
--- a/libps/spec.c
+++ b/libps/spec.c
@@ -880,7 +880,7 @@ ps_cmp_times (struct proc_stat *ps1, struct proc_stat *ps2,
     tv1.tv_sec > tv2.tv_sec ? 1
       : tv1.tv_sec < tv2.tv_sec ? -1
        : tv1.tv_usec > tv2.tv_usec ? 1
-         : tv2.tv_usec < tv2.tv_usec ? -1
+         : tv1.tv_usec < tv2.tv_usec ? -1
            : 0;
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git

Reply via email to