Correct printf format specifier in error message.

The argument is a size_t, use %zu not %ld.