HomeFreeBSD

cr_bsd_visible(): Style fixes

Description

cr_bsd_visible(): Style fixes

Explicitly test for non-zero return codes.

Separate assignment and testing of 'error' in distinct lines.

Reviewed by: emaste, kib
Approved by: emaste (mentor)
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D43335

(cherry picked from commit a1e37beb45d270ae9926eff3b93e9398d08c94e5)

Approved by: markj (mentor)

Details

Provenance
olceAuthored on Jan 5 2024, 3:23 PM
Reviewer
emaste
Differential Revision
D43335: cr_bsd_visible(): Style fix: Explicitly test for non-zero return codes
Parents
rG8d97e469dee9: libthr: thr_attr.c: EINVAL, not ENOTSUP, on invalid arguments
Branches
Unknown
Tags
Unknown