Home
last modified time | relevance | path

Searched refs:fmt_buf (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/libnisdb/
H A Dnis_parse_ldap_util.c2600 char fmt_buf[1024]; in report_error() local
2604 snprintf(fmt_buf, sizeof (fmt_buf), "Error parsing %s: ", in report_error()
2608 snprintf(fmt_buf, sizeof (fmt_buf), "Error parsing file '%s': ", in report_error()
2612 snprintf(fmt_buf, sizeof (fmt_buf), "Error for LDAP dn '%s': ", in report_error()
2618 snprintf(fmt_buf + pos, sizeof (fmt_buf) - pos, "at line %d: ", in report_error()
2624 snprintf(fmt_buf + pos, sizeof (fmt_buf) - pos, in report_error()
2630 snprintf(fmt_buf + pos, sizeof (fmt_buf) - pos, "%s\n", in report_error()
2634 snprintf(fmt_buf + pos, sizeof (fmt_buf) - pos, "%s", in report_error()
2645 char fmt_buf[1024]; in report_error2() local
2648 snprintf(fmt_buf, sizeof (fmt_buf), in report_error2()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/
H A Dipqosconf.c339 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()
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()
[all …]
/illumos-gate/usr/src/cmd/ls/
H A Dls.c2648 char fmt_buf[FMTSIZE]; in format_time() local
2651 (void) snprintf(fmt_buf, FMTSIZE, fstr, nsec); in format_time()
2652 (void) strftime(time_buf, sizeof (time_buf), fmt_buf, in format_time()