tp->nxt = newhnamemem();
tp->name = strdup(nambuf);
if (tp->name == NULL)
- error("ataddr_string: strdup(nambuf)");
+ (*ndo->ndo_error)(ndo,
+ "ataddr_string: strdup(nambuf)");
}
fclose(fp);
}
tp2->name, athost);
tp->name = strdup(nambuf);
if (tp->name == NULL)
- error("ataddr_string: strdup(nambuf)");
+ (*ndo->ndo_error)(ndo,
+ "ataddr_string: strdup(nambuf)");
return (tp->name);
}
(void)snprintf(nambuf, sizeof(nambuf), "%d", atnet);
tp->name = strdup(nambuf);
if (tp->name == NULL)
- error("ataddr_string: strdup(nambuf)");
+ (*ndo->ndo_error)(ndo, "ataddr_string: strdup(nambuf)");
return (tp->name);
}