Fix spelling error.
Use sizeof(*...->buf) instead of sizeof(<type>).

More explicit and safe against changing the type.

Strictly speaking the parentheses aren't required for objects, and it'd
make more sense to write "(sizeof *...->buf)" when including them for
clarity (which you'd want to). "sizeof(*...->buf)" is slightly shorter
and conventional though.