Lines Matching refs:report
674 mkdirpath(char *filename, void (*report)(const char *, ...)) {
686 (*report)("couldn't stat '%s': %s", filename,
690 if (mkdirpath(filename, report) == -1)
697 (*report)("couldn't mkdir '%s': %s", filename,
718 void (*report)(const char *, ...);
724 report = first_time ? ns_main_earlyfatal : ns_main_earlywarning;
735 (*report)("couldn't malloc '%s': %s", filename, strbuf);
745 if (mkdirpath(pidfile, report) == -1) {
754 (*report)("couldn't open pid file '%s': %s", filename, strbuf);
762 (*report)("could not fdopen() pid file '%s': %s",
774 (*report)("fprintf() to pid file '%s' failed", filename);
780 (*report)("fflush() to pid file '%s' failed", filename);