Lines Matching defs:debug_print
71 void debug_print(int, const char *, ...);
109 debug_print(0, "%s could not startup!", g_prog_name);
115 debug_print(0, "%s could not startup!", g_prog_name);
119 debug_print(2, "daemon is running.");
136 debug_print(0, "must be root to execute %s", g_prog_name);
162 debug_print(0, "could not create pid file: %s",
169 debug_print(0, "another acpihpd is already running");
171 debug_print(0, "could not lock pid file");
184 debug_print(0, "pid file write failed: %s",
191 debug_print(2, "could not set signal handler(SIGTERM)");
196 debug_print(2, "could not set signal handler(SIGQUIT)");
201 debug_print(2, "could not set signal handler(SIGINT)");
206 debug_print(2, "could not set signal handler(SIGCHLD)");
219 debug_print(1, "daemon quit [signal#:%d].", signo);
258 debug_print(2, "acpihpd_init");
261 debug_print(2, "could not bind to sysevent.");
266 debug_print(2, "could not subscribe an event.");
278 debug_print(2, "acpihpd_fini");
289 debug_print(2, "*** got an event ***");
296 debug_print(int level, const char *fmt, ...)