CI ci = &ct->c_ctinfo;
printf(toplevel > 0 ? LSTFMT2a : toplevel < 0 ? "part " : " ",
- atoi(r1bindex(empty(ct->c_file), '/')));
+ atoi(mhbasename(empty(ct->c_file))));
snprintf(buffer, sizeof(buffer), "%s/%s", empty(ci->ci_type),
empty(ci->ci_subtype));
printf(LSTFMT2b, empty(ct->c_partno), buffer);