summaryrefslogtreecommitdiff
path: root/src/sysdep.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-03-04 19:21:37 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2022-03-04 19:29:04 -0800
commit58b5652f6bd605e441037a29e8abcb615e76bea8 (patch)
tree27d47c85080951f78c1fc009750582d69952b346 /src/sysdep.c
parent3c5aad0b8b88fd763e46c41a2fab87c9dc206e97 (diff)
downloademacs-58b5652f6bd605e441037a29e8abcb615e76bea8.tar.gz
Fix FreeBSD typo in process-attributes cstime
* src/sysdep.c (system_process_attributes) [__FreeBSD__]: Fix typo that caused cstime to always equal cutime.
Diffstat (limited to 'src/sysdep.c')
-rw-r--r--src/sysdep.c2
1 files changed, 1 insertions, 1 deletions
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));