> On May 14, 2016, at 16:42, Bruce Evans wrote:
>
> On Sat, 14 May 2016, Garrett Cooper wrote:
…
> Er, this is pointier than before. nitems() is only valid on arrays.
You’re 100% correct. I forgot that it isn’t a magic silver bullet that works
with scalar pointers :(…
>> Modified: head/usr
On Sat, 14 May 2016, Garrett Cooper wrote:
Log:
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
Er, this is pointier than before. ni
Author: ngie
Date: Sat May 14 22:43:07 2016
New Revision: 299770
URL: https://svnweb.freebsd.org/changeset/base/299770
Log:
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 b