Searched refs:fmt_buf (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | nis_parse_ldap_util.c | 2600 char fmt_buf[1024]; in report_error() local 2604 snprintf(fmt_buf, sizeof (fmt_buf), "Error parsing %s: ", in report_error() 2606 pos = strlen(fmt_buf); in report_error() 2608 snprintf(fmt_buf, sizeof (fmt_buf), "Error parsing file '%s': ", in report_error() 2610 pos = strlen(fmt_buf); in report_error() 2612 snprintf(fmt_buf, sizeof (fmt_buf), "Error for LDAP dn '%s': ", in report_error() 2614 pos = strlen(fmt_buf); in report_error() 2618 snprintf(fmt_buf + pos, sizeof (fmt_buf) - pos, "at line %d: ", in report_error() 2620 pos += strlen(fmt_buf + pos); in report_error() 2624 snprintf(fmt_buf + pos, sizeof (fmt_buf) - pos, in report_error() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/ |
H A D | ipqosconf.c | 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() [all …]
|
/illumos-gate/usr/src/cmd/ls/ |
H A D | ls.c | 2648 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()
|