This might be just shifting the problem into the future, but this works with less code and will make it easier to add more formats, should that be necessary: > for (size_t i = 0; >- i < sizeof vmlinux_suffixes / sizeof vmlinux_suffixes[0]; >+ i + 1 < (sizeof vmlinux_suffixes / sizeof vmlinux_suffixes[0]) + 1; PM