Lines Matching refs:errstr

57 /* Size of the errstr buffer needs to be MAXERROR */
59 read_line(FILE *fp, char *buffer, int buflen, char *errstr)
64 *errstr = '\0';
87 (void) snprintf(errstr, MAXERROR,
91 (void) snprintf(errstr, MAXERROR,
106 char errstr[MAXERROR];
123 (void) snprintf(errstr, sizeof (errstr),
126 MKERROR(LOG_ERR, *error, NS_CONFIG_FILE, strdup(errstr), NULL);
134 errstr)) < 0)
148 (void) snprintf(errstr, sizeof (errstr),
152 strdup(errstr), NULL);
157 (void) snprintf(errstr, sizeof (errstr),
161 strdup(errstr), NULL);
166 (void) snprintf(errstr, sizeof (errstr),
170 strdup(errstr), NULL);
186 (void) snprintf(errstr, sizeof (errstr),
190 strdup(errstr), NULL);
206 (void) snprintf(errstr, sizeof (errstr),
210 strdup(errstr), NULL);
219 (void) snprintf(errstr, sizeof (errstr),
221 MKERROR(LOG_ERR, *error, NS_CONFIG_SYNTAX, strdup(errstr),
227 (void) snprintf(errstr, sizeof (errstr),
229 MKERROR(LOG_ERR, *error, NS_CONFIG_SYNTAX, strdup(errstr),
372 char errstr[MAXERROR];
378 (void) snprintf(errstr, sizeof (errstr),
381 strdup(errstr), NULL);
399 if (__s_api_crosscheck(ptr, errstr, B_TRUE) != NS_SUCCESS) {
401 MKERROR(LOG_ERR, error, NS_CONFIG_SYNTAX, strdup(errstr), NULL);
475 char errstr[MAXERROR];
493 (void) snprintf(errstr, sizeof (errstr),
497 strdup(errstr), NULL);
517 (void) snprintf(errstr, sizeof (errstr),
520 strdup(errstr), NULL);
550 (void) snprintf(errstr, sizeof (errstr),
553 strdup(errstr), NULL);
575 char errstr[MAXERROR];
584 (void) snprintf(errstr, sizeof (errstr),
586 MKERROR(LOG_ERR, errorp, NS_CONFIG_NOTLOADED, strdup(errstr),
596 (void) snprintf(errstr, sizeof (errstr),
600 strdup(errstr), NULL);
609 (void) snprintf(errstr, sizeof (errstr),
612 MKERROR(LOG_WARNING, errorp, NS_CONFIG_FILE, strdup(errstr),
679 char errstr[MAXERROR];
690 (void) snprintf(errstr, sizeof (errstr),
692 MKERROR(LOG_ERR, errorp, NS_CONFIG_NOTLOADED, strdup(errstr),
707 (void) snprintf(errstr, sizeof (errstr),
712 strdup(errstr), NULL);
718 (void) snprintf(errstr, sizeof (errstr),
728 (void) snprintf(errstr, sizeof (errstr),
738 (void) snprintf(errstr, sizeof (errstr), gettext(
758 (void) snprintf(errstr, sizeof (errstr),
772 (void) snprintf(errstr, sizeof (errstr), gettext(
784 strdup(errstr), NULL);
834 char errstr[MAXERROR];
843 (void) snprintf(errstr, MAXERROR,
846 MKERROR(LOG_ERR, errorp, NS_PARSE_ERR, strdup(errstr), NULL);
1005 char errstr[MAXERROR];
1013 (void) snprintf(errstr, sizeof (errstr),
1015 MKERROR(LOG_ERR, *errorp, NS_CONFIG_NOTLOADED, strdup(errstr),
1046 rc = __s_api_crosscheck(new_ptr, errstr, B_FALSE);
1049 MKERROR(LOG_ERR, *errorp, NS_CONFIG_NOTLOADED, strdup(errstr),
1073 char errstr[MAXERROR];
1085 (void) snprintf(errstr, sizeof (errstr),
1088 strdup(errstr), NULL);