Commit af52196c authored by Paul Eggert's avatar Paul Eggert
Browse files

* sysdep.c (system_process_attributes): Use CONS_TO_INTEGER in new FreeBSD code, too.

parent c62c46f3
......@@ -3157,7 +3157,7 @@ system_process_attributes (Lisp_Object pid)
Lisp_Object decoded_comm;
proc_id = FLOATP (pid) ? XFLOAT_DATA (pid) : XINT (pid);
CONS_TO_INTEGER (pid, int, proc_id);
mib[3] = proc_id;
if (sysctl (mib, 4, &proc, &proclen, NULL, 0) != 0)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment