From 58b5652f6bd605e441037a29e8abcb615e76bea8 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 4 Mar 2022 19:21:37 -0800 Subject: [PATCH] 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 95f77febcbf..28d32c77c63 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)); -- 2.39.5