Use correct conversion specifier for size_t (%zu, not %zi).