Home
last modified time | relevance | path

Searched refs:errstr (Results 1 – 25 of 146) sorted by relevance

123456

/titanic_41/usr/src/common/net/wanboot/
H A Dbootconf_errmsg.c42 char *errstr; in bootconf_errmsg() local
45 errstr = gettext("bootconf_errmsg: internal error"); in bootconf_errmsg()
49 errstr = gettext("No error"); in bootconf_errmsg()
52 errstr = gettext("Can't open configuration file"); in bootconf_errmsg()
55 errstr = gettext("Error creating/adding to nvlist"); in bootconf_errmsg()
58 errstr = gettext("Error reading/closing configuration file"); in bootconf_errmsg()
64 errstr = errmsg; in bootconf_errmsg()
71 errstr = errmsg; in bootconf_errmsg()
78 errstr = errmsg; in bootconf_errmsg()
82 errstr = gettext("Illegal encryption_type"); in bootconf_errmsg()
[all …]
/titanic_41/usr/src/lib/libsldap/common/
H A Dns_confmgr.c59 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), NULL); in read_file()
134 errstr)) < 0) in read_file()
148 (void) snprintf(errstr, sizeof (errstr), in read_file()
152 strdup(errstr), NULL); in read_file()
[all …]
H A Dns_connect.c110 char errstr[MAXERROR]; in getFirstFromConfig() local
123 (void) sprintf(errstr, in getFirstFromConfig()
126 strdup(errstr), NS_LDAP_MEMORY); in getFirstFromConfig()
195 char errstr[MAXERROR]; in __s_api_requestServer() local
249 (void) snprintf(errstr, in __s_api_requestServer()
250 sizeof (errstr), in __s_api_requestServer()
259 strdup(errstr), in __s_api_requestServer()
311 (void) snprintf(errstr, in __s_api_requestServer()
312 sizeof (errstr), in __s_api_requestServer()
321 strdup(errstr), in __s_api_requestServer()
[all …]
H A Dns_config.c96 verify_value(ns_config_t *cfg, char *name, char *value, char *errstr);
1106 __s_api_crosscheck(ns_config_t *ptr, char *errstr, int check_dn) in __s_api_crosscheck() argument
1122 (void) snprintf(errstr, MAXERROR, in __s_api_crosscheck()
1132 (void) snprintf(errstr, MAXERROR, in __s_api_crosscheck()
1144 (void) snprintf(errstr, MAXERROR, in __s_api_crosscheck()
1155 (void) snprintf(errstr, MAXERROR, in __s_api_crosscheck()
1164 (void) snprintf(errstr, MAXERROR, in __s_api_crosscheck()
1190 (void) snprintf(errstr, MAXERROR, in __s_api_crosscheck()
1199 (void) snprintf(errstr, MAXERROR, in __s_api_crosscheck()
1244 (void) snprintf(errstr, MAXERROR, in __s_api_crosscheck()
[all …]
/titanic_41/usr/src/cmd/svc/common/
H A Dmanifest_hash.c233 uchar_t *hash, apply_action_t apply_late, char **errstr) in mhash_store_entry() argument
255 if (errstr != NULL) in mhash_store_entry()
256 *errstr = gettext("Could not create scf objects"); in mhash_store_entry()
262 if (errstr != NULL) in mhash_store_entry()
263 *errstr = gettext("Could not get local scope"); in mhash_store_entry()
275 if (errstr != NULL) in mhash_store_entry()
276 *errstr = gettext("Could not get manifest hash " in mhash_store_entry()
292 if (errstr != NULL) in mhash_store_entry()
293 *errstr = gettext("Could not store file hash: " in mhash_store_entry()
299 if (errstr != NULL) in mhash_store_entry()
[all …]
/titanic_41/usr/src/lib/libadm/common/
H A Dckpath.c81 static char *errstr; variable
165 errstr = E_RELATIVE; in ckpath_val()
169 errstr = E_ABSOLUTE; in ckpath_val()
174 errstr = E_EXIST; in ckpath_val()
180 errstr = E_SYNTAX; in ckpath_val()
187 errstr = E_CREAT; in ckpath_val()
192 errstr = E_CREAT; in ckpath_val()
200 errstr = E_NEXIST; in ckpath_val()
206 errstr = E_NONZERO; in ckpath_val()
211 errstr = E_CHR; in ckpath_val()
[all …]
H A Dckstr.c60 static char *errstr; variable
93 errstr = ERRMSG1; in ckstr_val()
104 errstr = ERRMSG2; in ckstr_val()
106 errstr = ERRMSG3; in ckstr_val()
121 (void) snprintf(temp, sizeof (temp), errstr, length); in ckstr_err()
181 (void) snprintf(errbuf, sizeof (errbuf), errstr, length); in ckstr()
/titanic_41/usr/src/cmd/filesync/
H A Daction.c127 char *errstr = 0; in do_like() local
170 errstr = gettext(PROB_chown); in do_like()
173 errstr = gettext(PROB_chmod); in do_like()
175 errstr = gettext(PROB_chacl); in do_like()
177 errstr = gettext(PROB_chgrp); in do_like()
181 errstr = gettext(PROB_botch); in do_like()
184 if (errstr) { in do_like()
232 errstr = gettext(PROB_chmod); in do_like()
284 errstr = gettext(PROB_chacl); in do_like()
326 errstr = gettext(do_chown ? in do_like()
[all …]
/titanic_41/usr/src/cmd/rcm_daemon/common/
H A Ddump_rcm.c162 char **infostr, char **errstr, nvlist_t *props, rcm_info_t **dependent) in dump_getinfo() argument
190 uint_t flags, char **errstr, rcm_info_t **dependent) in dump_suspend() argument
195 assert(rsrcname != NULL && errstr != NULL); in dump_suspend()
206 rv = dump_relocate(dc, errstr); in dump_suspend()
215 char **errstr, rcm_info_t **dependent) in dump_resume() argument
220 assert(rsrcname != NULL && errstr != NULL); in dump_resume()
228 rv = dump_configure(dc, errstr); in dump_resume()
241 char **errstr, rcm_info_t **dependent) in dump_offline() argument
247 assert(rsrcname != NULL && errstr != NULL); in dump_offline()
259 rv = dump_relocate(dc, errstr); in dump_offline()
[all …]
H A Dcluster_rcm.c156 char **infostr, char **errstr, nvlist_t *props, rcm_info_t **dependent) in cluster_getinfo() argument
170 timespec_t *interval, uint_t flags, char **errstr, in cluster_suspend() argument
173 if ((*errstr = strdup(OS_SUSPEND_ERR)) == NULL) in cluster_suspend()
182 char **errstr, rcm_info_t **dependent) in cluster_resume() argument
194 char **errstr, rcm_info_t **dependent) in cluster_offline() argument
196 if ((*errstr = strdup(OS_OFFLINE_ERR)) == NULL) in cluster_offline()
205 char **errstr, rcm_info_t **dependent) in cluster_online() argument
213 char **errstr, rcm_info_t **dependent) in cluster_remove() argument
215 if ((*errstr = strdup(OS_REMOVE_ERR)) == NULL) in cluster_remove()
H A Dswap_rcm.c176 char **infostr, char **errstr, nvlist_t *props, rcm_info_t **dependent) in swap_getinfo() argument
201 uint_t flags, char **errstr, rcm_info_t **dependent) in swap_suspend() argument
206 assert(rsrcname != NULL && errstr != NULL); in swap_suspend()
217 rv = swap_delete(sf, errstr); in swap_suspend()
226 char **errstr, rcm_info_t **dependent) in swap_resume() argument
231 assert(rsrcname != NULL && errstr != NULL); in swap_resume()
239 rv = swap_add(sf, errstr); in swap_resume()
252 char **errstr, rcm_info_t **dependent) in swap_offline() argument
257 assert(rsrcname != NULL && errstr != NULL); in swap_offline()
269 rv = swap_delete(sf, errstr); in swap_offline()
[all …]
/titanic_41/usr/src/lib/libtsnet/common/
H A Dtsol_gettpent.c57 char *errstr = NULL; in tsol_gettpbyname() local
80 return (tpstr_to_ent(tpstrp, &err, &errstr)); in tsol_gettpbyname()
102 char *errstr = NULL; in tsol_gettpent() local
121 return (tpstr_to_ent(tpstrp, &err, &errstr)); in tsol_gettpent()
128 char *errstr = NULL; in tsol_fgettpent() local
140 tpentp = tpstr_to_ent(tpstrp, &err, &errstr); in tsol_fgettpent()
148 gettext("Error parsing tnrhtp file"), errstr, in tsol_fgettpent()
149 (strlen(errstr) > 32)? "...": "", in tsol_fgettpent()
157 tpentp = tpstr_to_ent(tpstrp, &err, &errstr); in tsol_fgettpent()
H A Dtsol_getrhent.c61 char *errstr = NULL; in tsol_getrhbyaddr() local
86 return (rhstr_to_ent(rhstrp, &err, &errstr)); in tsol_getrhbyaddr()
108 char *errstr = NULL; in tsol_getrhent() local
127 return (rhstr_to_ent(rhstrp, &err, &errstr)); in tsol_getrhent()
134 char *errstr = NULL; in tsol_fgetrhent() local
146 rhentp = rhstr_to_ent(rhstrp, &err, &errstr); in tsol_fgetrhent()
154 gettext("Error parsing tnrhdb file"), errstr, in tsol_fgetrhent()
155 (strlen(errstr) > 32)? "...": "", in tsol_fgetrhent()
163 rhentp = rhstr_to_ent(rhstrp, &err, &errstr); in tsol_fgetrhent()
/titanic_41/usr/src/cmd/sf880drd/
H A Dsf880drd.c186 char *errstr = NULL; in pushbutton_event() local
193 NULL, NULL, &errstr, 0); in pushbutton_event()
195 report_cfgadm_error(rv, errstr); in pushbutton_event()
219 rv = config_change_state(cmd, 1, &ap_id, NULL, NULL, NULL, &errstr, 0); in pushbutton_event()
221 report_cfgadm_error(rv, errstr); in pushbutton_event()
226 if (errstr) in pushbutton_event()
227 free(errstr); in pushbutton_event()
368 report_cfgadm_error(int cfgerrnum, char *errstr) in report_cfgadm_error() argument
377 if (errstr != NULL && *errstr != '\0') { in report_cfgadm_error()
378 (void) fprintf(stderr, "%s: %s\n", ep, errstr); in report_cfgadm_error()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/
H A D6to4relay.c69 char errstr[DLADM_STRSIZE]; in printkstatus() local
76 dladm_status2str(status, errstr)); in printkstatus()
178 char errstr[DLADM_STRSIZE]; in main() local
189 "dladm handle: %s\n"), dladm_status2str(status, errstr)); in main()
253 dladm_status2str(status, errstr)); in main()
264 "%s\n"), dladm_status2str(status, errstr)); in main()
293 dladm_status2str(status, errstr)); in main()
311 "%s\n"), dladm_status2str(status, errstr)); in main()
/titanic_41/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/
H A DDoPrinterUtil.java81 String errstr = syscmd.getError(); in getDevices() local
83 throw new pmCmdFailedException(errstr); in getDevices()
165 String errstr = syscmd.getError(); in getMakes() local
167 throw new pmCmdFailedException(errstr); in getMakes()
201 String errstr = syscmd.getError(); in getModels() local
203 throw new pmCmdFailedException(errstr); in getModels()
237 String errstr = syscmd.getError(); in getPPDs() local
239 throw new pmCmdFailedException(errstr); in getPPDs()
267 String errstr = syscmd.getError(); in getMakeModelNick() local
269 throw new pmCmdFailedException(errstr); in getMakeModelNick()
[all …]
H A DSysCommand.java178 String errstr = null; in readErr() local
185 if (errstr == null) { in readErr()
186 errstr = line; in readErr()
188 errstr = errstr.concat("\n" + line); in readErr()
191 return (errstr); in readErr()
/titanic_41/usr/src/cmd/fs.d/ufs/fssnap/
H A Dfssnap.c680 char *errstr; in die_perror() local
685 errstr = strerror(en); in die_perror()
686 if (errstr == NULL) { in die_perror()
687 errstr = gettext("Unknown error"); in die_perror()
691 progname, string, en, errstr); in die_perror()
708 char *errstr; in warn_errno() local
710 errstr = strerror(en); in warn_errno()
711 if (errstr == NULL) { in warn_errno()
712 errstr = gettext("Unknown error"); in warn_errno()
718 fprintf(stderr, ": %s\n", errstr); in warn_errno()
[all …]
/titanic_41/usr/src/lib/libcryptoutil/common/
H A Dpkcserror.c43 static char errstr[128]; in pkcs11_strerror() local
218 (void) snprintf(errstr, sizeof (errstr), in pkcs11_strerror()
220 return (errstr); in pkcs11_strerror()
/titanic_41/usr/src/cmd/pools/common/
H A Dutils.c49 const char *errstr; in get_errstr_err() local
52 errstr = strerror(syserr); in get_errstr_err()
54 errstr = pool_strerror(errnum); in get_errstr_err()
55 return (errstr); in get_errstr_err()
/titanic_41/usr/src/cmd/tsol/tnctl/
H A Dtnctl.c117 print_error(int linenum, int err, const char *errstr) in print_error() argument
125 (void) fprintf(stderr, "%.32s\n", errstr); in print_error()
237 char *errstr; in process_rh() local
253 rhentp = rhstr_to_ent(&rhstr, &err, &errstr); in process_rh()
255 print_error(0, err, errstr); in process_rh()
404 char *errstr; in process_tnzone() local
423 if ((zc = tsol_sgetzcent(line, &err, &errstr)) == NULL) { in process_tnzone()
433 print_error(linenum, err, errstr); in process_tnzone()
521 char *errstr; in process_tp() local
527 tpentp = tpstr_to_ent(&tpstr, &err, &errstr); in process_tp()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/nc/
H A Dnetcat.c138 const char *errstr, *proxyhost = "", *proxyport = NULL; in main() local
179 iflag = strtonum(optarg, 0, UINT_MAX, &errstr); in main()
180 if (errstr) in main()
181 errx(1, "interval %s: %s", errstr, optarg); in main()
214 timeout = strtonum(optarg, 0, INT_MAX / 1000, &errstr); in main()
215 if (errstr) in main()
216 errx(1, "timeout %s: %s", errstr, optarg); in main()
335 &errstr) == 0) in main()
337 uport, errstr); in main()
776 const char *errstr; in build_ports() local
[all …]
/titanic_41/usr/src/lib/libldap5/sources/ldap/common/
H A Dsetoption.c54 char *matched, *errstr; in ldap_set_option() local
298 LDAP_GET_LDERRNO(ld, &matched, &errstr); in ldap_set_option()
300 errstr = nsldapi_strdup(errstr); in ldap_set_option()
301 LDAP_SET_LDERRNO(ld, *((int *)optdata), matched, errstr); in ldap_set_option()
313 rc = LDAP_GET_LDERRNO(ld, NULL, &errstr); in ldap_set_option()
314 errstr = nsldapi_strdup(errstr); in ldap_set_option()
316 nsldapi_strdup((char *)optdata), errstr); in ldap_set_option()
/titanic_41/usr/src/cmd/oplhpd/
H A Dscf_notify.c111 config_error(cfga_err_t err, const char *func_name, const char *errstr, in config_error() argument
121 if (errstr != NULL && *errstr != '\0') { in config_error()
123 func_name, ep, errstr, ap_id); in config_error()
140 char *errstr = NULL; /* error code */ in scf_get_slotinfo() local
146 NULL, &errstr, 0); in scf_get_slotinfo()
149 config_error(rv, "config_list_ext", errstr, ap_pid); in scf_get_slotinfo()
183 if (errstr) { in scf_get_slotinfo()
184 free(errstr); in scf_get_slotinfo()
/titanic_41/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_log.c288 char *errstr; in ndmp_log() local
314 if ((errstr = strerror(errno)) == NULL) { in ndmp_log()
318 while ((*errstr != '\0') && in ndmp_log()
320 if (*errstr == '%') { in ndmp_log()
324 *b++ = *errstr; in ndmp_log()
326 errstr++; in ndmp_log()

123456