HomeFreeBSD

cred: proc_set_cred(): Fix debug build

Description

cred: proc_set_cred(): Fix debug build

On stable/13, the 'cr_ref' field of 'struct ucred' is of type 'u_int',
contrary to stable/14 and main where it is of type 'long'.

This is a direct commit to stable/13.

Reported by: Jenkins
Fixes: b3d437832ffa ("cred: proc_set_cred(), proc_unset_cred(): Update user's process count")

Details

Provenance
olceAuthored on Fri, Jan 17, 1:33 PM
Parents
rG6f43ca650d64: libprocstat: ZFS support: Makefile: Tidy up a bit
Branches
Unknown
Tags
Unknown