increased the size of buf, because of the format string %s %s %s ... (15 times), which triggered the warning: modind.c:707:32: warning: ā%sā directive output may be truncated writing up to 45000 bytes into a region of size between 0 and 45000 [-Wformat-truncation=]