HomeFreeBSD

Use the size of the destination buffer, not the source buffer.

Description

Use the size of the destination buffer, not the source buffer.

Technically this is a no-op, but mute the clang warning in case the malloc call
above for fstring ever changes in the future

Reported by: clang
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

Details

Provenance
ngieAuthored on
Parents
rS299763: Mute -Wstrlcpy-strlcat-size warning by using nitems with the size of the buffer
Branches
Unknown
Tags
Unknown