logbad
extern void logbad(boolean_t, const char *, ...);
#define BADERR(dump, msg) logbad(dump, msg ": %s", rip_strerror(errno))
logbad(_B_FALSE, "gettimeofday: %s", rip_strerror(errno));
logbad(_B_FALSE, "strdup: %s",
logbad(_B_FALSE, gettext("excess arguments"));
logbad(_B_FALSE, gettext("requires UID 0"));
logbad(_B_TRUE, "fcntl(rt_sock) O_NONBLOCK: %s",
logbad(_B_FALSE, "gettimeofday: %s",
logbad(_B_TRUE, "fcntl(%s) O_NONBLOCK: %s", name,
logbad(_B_TRUE, "malloc(%lu) failed in %s: %s", (ulong_t)size,
logbad(1, "rn_addmask: mask impossibly already in tree");
logbad(1, "Mask for route not entered");
logbad(1, "Non-unique normal route, mask "
logbad(1, "rn_delete: inconsistent annotation");
logbad(1, "rn_delete: inconsistent annotation");
logbad(1, "rn_delete: couldn't find our annotation");
logbad(1, "rn_delete: couldn't find us");
logbad(1, "rn_delete: Orphaned Mask %p at %p\n",
logbad(1, "radix functions require max_keylen be set");
logbad(0, "rn_init: could not initialize radix tree");