]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix FreeBSD typo in process-attributes cstime
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 5 Mar 2022 03:21:37 +0000 (19:21 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 5 Mar 2022 03:29:04 +0000 (19:29 -0800)
* src/sysdep.c (system_process_attributes) [__FreeBSD__]:
Fix typo that caused cstime to always equal cutime.

src/sysdep.c

index 95f77febcbfb84e7fa6abf75d0463c45992facae..28d32c77c63b9fb79baf57b7835cd457ed880df8 100644 (file)
@@ -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));