emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 58b5652f6b 1/5: Fix FreeBSD typo in process-attributes cstime


From: Paul Eggert
Subject: master 58b5652f6b 1/5: Fix FreeBSD typo in process-attributes cstime
Date: Fri, 4 Mar 2022 22:29:24 -0500 (EST)

branch: master
commit 58b5652f6bd605e441037a29e8abcb615e76bea8
Author: Paul Eggert <eggert@cs.ucla.edu>
Commit: Paul Eggert <eggert@cs.ucla.edu>

    Fix FreeBSD typo in process-attributes cstime
    
    * src/sysdep.c (system_process_attributes) [__FreeBSD__]:
    Fix typo that caused cstime to always equal cutime.
---
 src/sysdep.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sysdep.c b/src/sysdep.c
index 95f77febcb..28d32c77c6 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -3799,7 +3799,7 @@ system_process_attributes (Lisp_Object pid)
                        make_lisp_timeval (proc.ki_rusage_ch.ru_utime)),
                 attrs);
   attrs = Fcons (Fcons (Qcstime,
-                       make_lisp_timeval (proc.ki_rusage_ch.ru_utime)),
+                       make_lisp_timeval (proc.ki_rusage_ch.ru_stime)),
                 attrs);
   t = timespec_add (timeval_to_timespec (proc.ki_rusage_ch.ru_utime),
                    timeval_to_timespec (proc.ki_rusage_ch.ru_stime));



reply via email to

[Prev in Thread] Current Thread [Next in Thread]