Lines Matching refs:errstr

59 read_line(FILE *fp, char *buffer, int buflen, char *errstr)  in read_line()  argument
64 *errstr = '\0'; in read_line()
87 (void) snprintf(errstr, MAXERROR, in read_line()
91 (void) snprintf(errstr, MAXERROR, in read_line()
106 char errstr[MAXERROR]; in read_file() local
123 (void) snprintf(errstr, sizeof (errstr), in read_file()
126 MKERROR(LOG_ERR, *error, NS_CONFIG_FILE, strdup(errstr), in read_file()
135 errstr)) < 0) in read_file()
149 (void) snprintf(errstr, sizeof (errstr), in read_file()
153 strdup(errstr), NS_PARSE_ERR); in read_file()
158 (void) snprintf(errstr, sizeof (errstr), in read_file()
162 strdup(errstr), NS_PARSE_ERR); in read_file()
167 (void) snprintf(errstr, sizeof (errstr), in read_file()
171 strdup(errstr), NS_PARSE_ERR); in read_file()
187 (void) snprintf(errstr, sizeof (errstr), in read_file()
191 strdup(errstr), NS_PARSE_ERR); in read_file()
207 (void) snprintf(errstr, sizeof (errstr), in read_file()
211 strdup(errstr), NS_PARSE_ERR); in read_file()
220 (void) snprintf(errstr, sizeof (errstr), in read_file()
222 MKERROR(LOG_ERR, *error, NS_CONFIG_SYNTAX, strdup(errstr), in read_file()
228 (void) snprintf(errstr, sizeof (errstr), in read_file()
230 MKERROR(LOG_ERR, *error, NS_CONFIG_SYNTAX, strdup(errstr), in read_file()
372 char errstr[MAXERROR]; in __ns_ldap_LoadConfiguration() local
378 (void) snprintf(errstr, sizeof (errstr), in __ns_ldap_LoadConfiguration()
381 strdup(errstr), NULL); in __ns_ldap_LoadConfiguration()
399 if (__s_api_crosscheck(ptr, errstr, B_TRUE) != NS_SUCCESS) { in __ns_ldap_LoadConfiguration()
401 MKERROR(LOG_ERR, error, NS_CONFIG_SYNTAX, strdup(errstr), NULL); in __ns_ldap_LoadConfiguration()
475 char errstr[MAXERROR]; in __ns_ldap_LoadDoorInfo() local
493 (void) snprintf(errstr, sizeof (errstr), in __ns_ldap_LoadDoorInfo()
497 strdup(errstr), NULL); in __ns_ldap_LoadDoorInfo()
517 (void) snprintf(errstr, sizeof (errstr), in __ns_ldap_LoadDoorInfo()
520 strdup(errstr), NULL); in __ns_ldap_LoadDoorInfo()
550 (void) snprintf(errstr, sizeof (errstr), in __ns_ldap_LoadDoorInfo()
553 strdup(errstr), NULL); in __ns_ldap_LoadDoorInfo()
575 char errstr[MAXERROR]; in __ns_ldap_DumpLdif() local
584 (void) snprintf(errstr, sizeof (errstr), in __ns_ldap_DumpLdif()
586 MKERROR(LOG_ERR, errorp, NS_CONFIG_NOTLOADED, strdup(errstr), in __ns_ldap_DumpLdif()
596 (void) snprintf(errstr, sizeof (errstr), in __ns_ldap_DumpLdif()
600 strdup(errstr), NULL); in __ns_ldap_DumpLdif()
609 (void) snprintf(errstr, sizeof (errstr), in __ns_ldap_DumpLdif()
612 MKERROR(LOG_WARNING, errorp, NS_CONFIG_FILE, strdup(errstr), in __ns_ldap_DumpLdif()
679 char errstr[MAXERROR]; in __ns_ldap_DumpConfigFiles() local
690 (void) snprintf(errstr, sizeof (errstr), in __ns_ldap_DumpConfigFiles()
692 MKERROR(LOG_ERR, errorp, NS_CONFIG_NOTLOADED, strdup(errstr), in __ns_ldap_DumpConfigFiles()
707 (void) snprintf(errstr, sizeof (errstr), in __ns_ldap_DumpConfigFiles()
712 strdup(errstr), NULL); in __ns_ldap_DumpConfigFiles()
718 (void) snprintf(errstr, sizeof (errstr), in __ns_ldap_DumpConfigFiles()
728 (void) snprintf(errstr, sizeof (errstr), in __ns_ldap_DumpConfigFiles()
738 (void) snprintf(errstr, sizeof (errstr), gettext( in __ns_ldap_DumpConfigFiles()
758 (void) snprintf(errstr, sizeof (errstr), in __ns_ldap_DumpConfigFiles()
772 (void) snprintf(errstr, sizeof (errstr), gettext( in __ns_ldap_DumpConfigFiles()
784 strdup(errstr), NULL); in __ns_ldap_DumpConfigFiles()
834 char errstr[MAXERROR]; in __ns_ldap_make_config() local
843 (void) snprintf(errstr, MAXERROR, in __ns_ldap_make_config()
846 MKERROR(LOG_ERR, errorp, NS_PARSE_ERR, strdup(errstr), NULL); in __ns_ldap_make_config()
1005 char errstr[MAXERROR]; in __ns_ldap_download() local
1013 (void) snprintf(errstr, sizeof (errstr), in __ns_ldap_download()
1015 MKERROR(LOG_ERR, *errorp, NS_CONFIG_NOTLOADED, strdup(errstr), in __ns_ldap_download()
1046 rc = __s_api_crosscheck(new_ptr, errstr, B_FALSE); in __ns_ldap_download()
1049 MKERROR(LOG_ERR, *errorp, NS_CONFIG_NOTLOADED, strdup(errstr), in __ns_ldap_download()
1073 char errstr[MAXERROR]; in __ns_ldap_print_config() local
1085 (void) snprintf(errstr, sizeof (errstr), in __ns_ldap_print_config()
1088 strdup(errstr), NULL); in __ns_ldap_print_config()