Skip to content

Commit fe41b4e

Browse files
committed
Fix FreeBSD build failure
1 parent 02d3a07 commit fe41b4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/columns/state.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ impl Column for State {
129129
if (flag & libc::P_SYSTEM as i64) != 0 || info.lock > 0 {
130130
state.push_str("L");
131131
}
132-
if (cr_flags & bsd_kvm_sys::CRED_FLAG_CAPMODE) != 0 {
132+
if (cr_flags & libc::KI_CRF_CAPABILITY_MODE as u32) != 0 {
133133
state.push_str("C");
134134
}
135135
if (kiflag & libc::KI_SLEADER as i64) != 0 {

0 commit comments

Comments
 (0)