Lines Matching refs:errstr

56 /* Size of the errstr buffer needs to be MAXERROR */
58 read_line(FILE *fp, char *buffer, int buflen, char *errstr)
63 *errstr = '\0';
86 (void) snprintf(errstr, MAXERROR,
90 (void) snprintf(errstr, MAXERROR,
105 char errstr[MAXERROR];
122 (void) snprintf(errstr, sizeof (errstr),
125 MKERROR(LOG_ERR, *error, NS_CONFIG_FILE, strdup(errstr), NULL);
133 errstr)) < 0)
147 (void) snprintf(errstr, sizeof (errstr),
151 strdup(errstr), NULL);
156 (void) snprintf(errstr, sizeof (errstr),
160 strdup(errstr), NULL);
165 (void) snprintf(errstr, sizeof (errstr),
169 strdup(errstr), NULL);
185 (void) snprintf(errstr, sizeof (errstr),
189 strdup(errstr), NULL);
205 (void) snprintf(errstr, sizeof (errstr),
209 strdup(errstr), NULL);
218 (void) snprintf(errstr, sizeof (errstr),
220 MKERROR(LOG_ERR, *error, NS_CONFIG_SYNTAX, strdup(errstr),
226 (void) snprintf(errstr, sizeof (errstr),
228 MKERROR(LOG_ERR, *error, NS_CONFIG_SYNTAX, strdup(errstr),
375 char errstr[MAXERROR];
381 (void) snprintf(errstr, sizeof (errstr),
384 strdup(errstr), NULL);
402 if (__s_api_crosscheck(ptr, errstr, B_TRUE, B_TRUE) != NS_SUCCESS) {
404 MKERROR(LOG_ERR, error, NS_CONFIG_SYNTAX, strdup(errstr), NULL);
478 char errstr[MAXERROR];
496 (void) snprintf(errstr, sizeof (errstr),
500 strdup(errstr), NULL);
520 (void) snprintf(errstr, sizeof (errstr),
523 strdup(errstr), NULL);
553 (void) snprintf(errstr, sizeof (errstr),
556 strdup(errstr), NULL);
578 char errstr[MAXERROR];
587 (void) snprintf(errstr, sizeof (errstr),
589 MKERROR(LOG_ERR, errorp, NS_CONFIG_NOTLOADED, strdup(errstr),
599 (void) snprintf(errstr, sizeof (errstr),
603 strdup(errstr), NULL);
612 (void) snprintf(errstr, sizeof (errstr),
615 MKERROR(LOG_WARNING, errorp, NS_CONFIG_FILE, strdup(errstr),
682 char errstr[MAXERROR];
693 (void) snprintf(errstr, sizeof (errstr),
695 MKERROR(LOG_ERR, errorp, NS_CONFIG_NOTLOADED, strdup(errstr),
710 (void) snprintf(errstr, sizeof (errstr),
715 strdup(errstr), NULL);
721 (void) snprintf(errstr, sizeof (errstr),
731 (void) snprintf(errstr, sizeof (errstr),
741 (void) snprintf(errstr, sizeof (errstr), gettext(
761 (void) snprintf(errstr, sizeof (errstr),
775 (void) snprintf(errstr, sizeof (errstr), gettext(
787 strdup(errstr), NULL);
837 char errstr[MAXERROR];
846 (void) snprintf(errstr, MAXERROR,
849 MKERROR(LOG_ERR, errorp, NS_PARSE_ERR, strdup(errstr), NULL);
1008 char errstr[MAXERROR];
1016 (void) snprintf(errstr, sizeof (errstr),
1018 MKERROR(LOG_ERR, *errorp, NS_CONFIG_NOTLOADED, strdup(errstr),
1049 rc = __s_api_crosscheck(new_ptr, errstr, B_FALSE, B_FALSE);
1052 MKERROR(LOG_ERR, *errorp, NS_CONFIG_NOTLOADED, strdup(errstr),
1076 char errstr[MAXERROR];
1088 (void) snprintf(errstr, sizeof (errstr),
1091 strdup(errstr), NULL);