HomeFreeBSD

loader: xdr_array is missing count

Description

loader: xdr_array is missing count

The integer arrays are encoded in nvlist as counted array <count, i0, i1...>,
loader xdr_array() is missing the count. This will affect the pool import when
there are hole devices in pool.

Also fix the new data add and print functions.

Details

Provenance
tsoomeAuthored on
Parents
rS368409: Fix compilation after r368397.
Branches
Unknown
Tags
Unknown