for (ci=sec->cfg; ci->cls; ci++)
if (ci->cls == CC_SECTION) {
if (commit_section(ci->name, ci->u.sec, ptr + (addr_int_t) ci->ptr)) {
- if (sec != §ions)
- log(L_ERROR, "It was in section %s", name);
+ log(L_ERROR, "It happened in section %s", ci->name);
return 1;
}
} else if (ci->cls == CC_LIST) {
uns idx = 0;
CLIST_WALK(n, * (clist*) (ptr + (addr_int_t) ci->ptr))
if (idx++, commit_section(ci->name, ci->u.sec, n)) {
- log(L_ERROR, "It was in the node #%d of list %s", idx, name);
+ log(L_ERROR, "It happened in node #%d of list %s", idx, ci->name);
return 1;
}
}