diff --git a/sys/security/mac_test/mac_test.c b/sys/security/mac_test/mac_test.c index 322667944b4..ba8e5142905 100644 --- a/sys/security/mac_test/mac_test.c +++ b/sys/security/mac_test/mac_test.c @@ -1065,7 +1065,7 @@ static int mac_test_check_kenv_dump(struct ucred *cred) { - ASSERT_CRED_LABEL(&cred->cr_label); + ASSERT_CRED_LABEL(cred->cr_label); return (0); }