1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-30 10:11:47 -07:00

Fix FreeBSD typo in process-attributes cstime

* src/sysdep.c (system_process_attributes) [__FreeBSD__]:
Fix typo that caused cstime to always equal cutime.
This commit is contained in:
Paul Eggert 2022-03-04 19:21:37 -08:00
parent 3c5aad0b8b
commit 58b5652f6b

View 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));