HomeFreeBSD

ufsread: Do not cast struct direct from void *

Description

ufsread: Do not cast struct direct from void *
This cause alignment problem on ARM (and possibly other archs), instead copy it.

MFC after: 1 week

Details

Provenance
manuAuthored on
Parents
rS305813: localedef(1): make better use of calloc(3) arguments.
Branches
Unknown
Tags
Unknown