| 1712 | ds4_expert_profile_write_layer(fp, il); |
| 1713 | fputs(il + 1u == p->n_layer ? "\n" : ",\n", fp); |
| 1714 | } |
| 1715 | fputs(" ]\n}\n", fp); |
| 1716 | |
| 1717 | if (fclose(fp) != 0) { |
| 1718 | fprintf(stderr, |
| 1719 | "ds4: failed to close expert profile output %s: %s\n", |
| 1720 | p->path, |
| 1721 | strerror(errno)); |
| 1722 | } else { |
| 1723 | fprintf(stderr, |
| 1724 | "ds4: wrote Metal expert locality profile to %s " |
| 1725 | "(%" PRIu64 " layer records, %" PRIu64 " selections)\n", |
no outgoing calls
no test coverage detected