Lines Matching refs:fmt_buf
339 char fmt_buf[IPQOS_MSG_BUF_SZ]; in ipqos_msg() local
388 (void) strlcpy(fmt_buf, gettext("Error: "), in ipqos_msg()
395 (void) strlcpy(fmt_buf, gettext("Warning: "), in ipqos_msg()
398 (void) strlcpy(fmt_buf, gettext("Error: "), in ipqos_msg()
401 (void) strlcpy(fmt_buf, gettext("Notice: "), in ipqos_msg()
404 (void) strlcat(fmt_buf, format, IPQOS_MSG_BUF_SZ); in ipqos_msg()
414 if ((cp = strchr(fmt_buf, '\n')) != NULL) in ipqos_msg()
416 (void) strlcat(fmt_buf, ": ", IPQOS_MSG_BUF_SZ); in ipqos_msg()
417 (void) strlcat(fmt_buf, strerror(errno), in ipqos_msg()
424 if ((cp = strchr(fmt_buf, '\n')) == NULL) in ipqos_msg()
425 (void) strlcat(fmt_buf, "\n", IPQOS_MSG_BUF_SZ); in ipqos_msg()
427 (void) vfprintf(stderr, fmt_buf, ap); in ipqos_msg()