Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/libnisdb/
H A Dnis_parse_ldap_util.c2599 char fmt_buf[1024]; in report_error() local
2603 snprintf(fmt_buf, sizeof (fmt_buf), "Error parsing %s: ", in report_error()
2605 pos = strlen(fmt_buf); in report_error()
2607 snprintf(fmt_buf, sizeof (fmt_buf), "Error parsing file '%s': ", in report_error()
2609 pos = strlen(fmt_buf); in report_error()
2611 snprintf(fmt_buf, sizeof (fmt_buf), "Error for LDAP dn '%s': ", in report_error()
2613 pos = strlen(fmt_buf); in report_error()
2617 snprintf(fmt_buf + pos, sizeof (fmt_buf) - pos, "at line %d: ", in report_error()
2619 pos += strlen(fmt_buf + pos); in report_error()
2623 snprintf(fmt_buf + pos, sizeof (fmt_buf) - pos, in report_error()
[all …]
/titanic_44/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()
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 …]
/titanic_44/usr/src/cmd/ls/
H A Dls.c2557 char fmt_buf[FMTSIZE]; in format_time() local
2560 (void) snprintf(fmt_buf, FMTSIZE, fstr, nsec); in format_time()
2561 (void) strftime(time_buf, sizeof (time_buf), fmt_buf, in format_time()