- fflush(stdout);
- fprintf(stderr, "%s: ", program_name);
-
- va_start(args, fmt);
- vfprintf(stderr, fmt, args);
- va_end(args);
-
- if (fmt[0] != '\0' && fmt[strlen(fmt) - 1] == ':')
- fprintf(stderr, " %s", strerror(errno));
- /* Should be safe, after all dhcpd-pools has only one
- * thread. */
- errno = 0;
-
- fprintf(stderr, "\n");
- fflush(stderr);