]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix up r299764
authorngie <ngie@FreeBSD.org>
Sat, 14 May 2016 22:43:07 +0000 (22:43 +0000)
committerngie <ngie@FreeBSD.org>
Sat, 14 May 2016 22:43:07 +0000 (22:43 +0000)
commitfe72dd1b411d4a3344d64b7e90ab0fbaff92829e
tree73a1fef32310331c12bf7dbedcd32f5ea9b78f30
parent78ec2149ecb3e0845ce3724d24712b6c349866b0
Fix up r299764

I meant to use nitems, not sizeof(..) with the destination buffer. Using sizeof(..)
on a pointer will always truncate the output in the destination buffer incorrectly

Pointyhat to: ngie
MFC after: 1 week
X-MFC with: r299764
Sponsored by: EMC / Isilon Storage Division
usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c