]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use the size of the destination buffer, not the source buffer.
authorngie <ngie@FreeBSD.org>
Sat, 14 May 2016 21:27:33 +0000 (21:27 +0000)
committerngie <ngie@FreeBSD.org>
Sat, 14 May 2016 21:27:33 +0000 (21:27 +0000)
commitfc842bcc02dea1dc7fe1b1ec158cf816d7adf25b
tree4b684e3fa1553177690818f16ba1e5aa85318373
parent7cc1c163268294eb7fcad6fc984ca43f3f9a0206
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
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c