HomeFreeBSD

stand/ofw: Use strpbrk instead of two strchrs

Description

stand/ofw: Use strpbrk instead of two strchrs

No need to call strchr twice, when one call to strpbrk will do the
job.. Test booted with qemu-powerpc + mac99 successfully.
Minor style(9) tweaks as well.

Sponsored by: Netflix

Details

Provenance
impAuthored on Nov 29 2022, 8:02 PM
Parents
rGbc9a5b049797: xen/acpi: only evaluate Processor objects matching online CPUs
Branches
Unknown
Tags
Unknown