- if (!(r = res_get(common_resource, nm = strconcat(name, ".",
- "blocktypes", 0))) || !(num = splitargs(r, pp, IS_MAX_BLOCKTYPES)))
+ if (!(r = res_get_def(common_resource, nm = strconcat(name, ".",
+ "blocktypes", 0), "64 1K")) ||
+ !(num = splitargs(r, pp, IS_MAX_BLOCKTYPES)))