- for (arctypename = NULL, atmp = arctypemap; atmp->arctype; atmp++) {
- if (atmp->arctype == ap->arc_type) {
- arctypename = atmp->name;
- break;
- }
- }
- if (!arctypename) {
- arctypename = typebuf;
- (void)snprintf(typebuf, sizeof(typebuf), "%02x", ap->arc_type);
- }