debug_print
debug_print(0, "%s could not startup!", g_prog_name);
debug_print(0, "%s could not startup!", g_prog_name);
debug_print(2, "daemon is running.");
debug_print(0, "must be root to execute %s", g_prog_name);
debug_print(0, "could not create pid file: %s",
debug_print(0, "another acpihpd is already running");
debug_print(0, "could not lock pid file");
debug_print(0, "pid file write failed: %s",
debug_print(2, "could not set signal handler(SIGTERM)");
debug_print(2, "could not set signal handler(SIGQUIT)");
debug_print(2, "could not set signal handler(SIGINT)");
debug_print(2, "could not set signal handler(SIGCHLD)");
debug_print(1, "daemon quit [signal#:%d].", signo);
debug_print(2, "acpihpd_init");
debug_print(2, "could not bind to sysevent.");
debug_print(2, "could not subscribe an event.");
debug_print(2, "acpihpd_fini");
debug_print(2, "*** got an event ***");
void debug_print(int, const char *, ...);
debug_print(2, "plat_opt_str_alloc = '%s'", opt);
debug_print(0,
debug_print(0, "cfgadm('connect', '%s') failed, "
debug_print(0, "cfgadm('configure', '%s') failed, "
debug_print(0, "cfgadm('assign', '%s') failed, "
debug_print(0, "cfgadm('poweron', '%s') failed, "
debug_print(0, "cfgadm('passthru', '%s') failed, "
debug_print(2, "unknown command (%d) to cfgadm_cmd_wrapper()");
debug_print(2,
debug_print(2, "message_vendor = '%s'", vendor ? vendor : "unknown");
debug_print(2,
debug_print(2, "message_class = '%s'", class ? class : "unknown");
debug_print(2, "class of message is not '%s'", EC_DR);
debug_print(2,
debug_print(2,
debug_print(2,
debug_print(2,
debug_print(2, "%s = '%s'", DR_AP_ID, ap_id ? ap_id : "<null>");
debug_print(2, "'%s' property in message is NULL", DR_AP_ID);
debug_print(2,
debug_print(2, "%s = '%s'", DR_REQ_TYPE, req ? req : "<null>");
debug_print(2, "'%s' property in message is NULL", DR_REQ_TYPE);
debug_print(2,
debug_print(2, "%s = '%s'", ACPIDEV_EVENT_TYPE_ATTR_NAME,
debug_print(2, "'%s' property in message is NULL",
extern void debug_print(int, const char *, ...);
debug_print(2, "cfgadm message: %s", message);
debug_print(2, "plat_opt_str_alloc = '%s'", opt);
debug_print(msglevel, fmt, ap);
void debug_print(int l, char *fmt, ...);
#define DPRINT debug_print