/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_confmgr.c | 123 (void) snprintf(errstr, sizeof (errstr), in read_file() 149 (void) snprintf(errstr, sizeof (errstr), in read_file() 158 (void) snprintf(errstr, sizeof (errstr), in read_file() 167 (void) snprintf(errstr, sizeof (errstr), in read_file() 187 (void) snprintf(errstr, sizeof (errstr), in read_file() 207 (void) snprintf(errstr, sizeof (errstr), in read_file() 220 (void) snprintf(errstr, sizeof (errstr), in read_file() 228 (void) snprintf(errstr, sizeof (errstr), in read_file() 378 (void) snprintf(errstr, sizeof (errstr), in __ns_ldap_LoadConfiguration() 493 (void) snprintf(errstr, sizeof (errstr), in __ns_ldap_LoadDoorInfo() [all …]
|
H A D | ns_connect.c | 1165 (void) snprintf(errstr, sizeof (errstr), in process_pwd_mgmt() 2052 (void) snprintf(errstr, sizeof (errstr), in createTLSSession() 2073 (void) snprintf(errstr, sizeof (errstr), in createTLSSession() 2088 (void) snprintf(errstr, sizeof (errstr), in createTLSSession() 2368 (void) snprintf(errstr, sizeof (errstr), in doSimpleBind() 2384 (void) snprintf(errstr, sizeof (errstr), in doSimpleBind() 2401 (void) snprintf(errstr, sizeof (errstr), in doSimpleBind() 2499 (void) snprintf(errstr, sizeof (errstr), in doSASLBind() 2529 (void) snprintf(errstr, sizeof (errstr), in doSASLBind() 2547 (void) snprintf(errstr, sizeof (errstr), in doSASLBind() [all …]
|
H A D | ns_config.c | 1652 (void) snprintf(errstr, sizeof (errstr), in __ns_ldap_setParamValue() 1748 (void) snprintf(errstr, sizeof (errstr), in __ns_ldap_setParamValue() 1856 (void) snprintf(errstr, sizeof (errstr), in __ns_ldap_setParamValue() 1968 (void) snprintf(errstr, sizeof (errstr), in __ns_ldap_setParamValue() 2237 (void) snprintf(errstr, sizeof (errstr), in __ns_ldap_setParamValue() 2309 (void) snprintf(errstr, sizeof (errstr), in __ns_ldap_setParamValue() 2619 (void) snprintf(errstr, sizeof (errstr), in __ns_ldap_setParamValue() 2727 (void) snprintf(errstr, sizeof (errstr), in __ns_ldap_setParam() 2750 (void) snprintf(errstr, sizeof (errstr), in __ns_ldap_setParam() 2974 (void) snprintf(errstr, sizeof (errstr), in __ns_ldap_getParam() [all …]
|
/illumos-gate/usr/src/cmd/svc/common/ |
H A D | manifest_hash.c | 258 if (errstr != NULL) in mhash_store_entry() 265 if (errstr != NULL) in mhash_store_entry() 278 if (errstr != NULL) in mhash_store_entry() 295 if (errstr != NULL) in mhash_store_entry() 302 if (errstr != NULL) in mhash_store_entry() 310 if (errstr != NULL) in mhash_store_entry() 346 if (errstr != NULL) in mhash_store_entry() 352 if (errstr != NULL) in mhash_store_entry() 365 if (errstr != NULL) in mhash_store_entry() 390 if (errstr != NULL) in mhash_store_entry() [all …]
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | ckpath.c | 81 static char *errstr; variable 165 errstr = E_RELATIVE; in ckpath_val() 174 errstr = E_EXIST; in ckpath_val() 200 errstr = E_NEXIST; in ckpath_val() 211 errstr = E_CHR; in ckpath_val() 215 errstr = E_BLK; in ckpath_val() 219 errstr = E_DIR; in ckpath_val() 223 errstr = E_REG; in ckpath_val() 227 errstr = E_READ; in ckpath_val() 231 errstr = E_WRITE; in ckpath_val() [all …]
|
H A D | ckstr.c | 60 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()
|
/illumos-gate/usr/src/test/libc-tests/tests/err/ |
H A D | err.c | 94 const char *errstr; in main() local 106 num = strtonum(optarg, 0, 127, &errstr); in main() 107 if (errstr != NULL) in main() 108 errx(EXIT_FAILURE, "-x: %s", errstr); in main() 112 num = strtonum(optarg, 0, VARIANT_VX, &errstr); in main() 113 if (errstr != NULL) in main() 114 errx(EXIT_FAILURE, "-v: %s", errstr); in main() 139 num = strtonum(optarg, 0, 127, &errstr); in main() 140 if (errstr != NULL) in main() 141 errx(EXIT_FAILURE, "-x: %s", errstr); in main()
|
/illumos-gate/usr/src/cmd/filesync/ |
H A D | action.c | 128 char *errstr = 0; in do_like() local 185 if (errstr) { in do_like() 347 fp->f_problem = errstr; in do_like() 404 char *errstr = "???"; in do_copy() local 721 errstr = copy_err_str; in do_copy() 764 errstr = fp->f_problem; in do_copy() 820 fp->f_problem = errstr; in do_copy() 856 char *errstr = "???"; in do_remove() local 913 fp->f_problem = errstr; in do_remove() 942 char *errstr = "???"; in do_rename() local [all …]
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | dump_rcm.c | 193 assert(rsrcname != NULL && errstr != NULL); in dump_suspend() 204 rv = dump_relocate(dc, errstr); in dump_suspend() 213 char **errstr, rcm_info_t **dependent) in dump_resume() argument 218 assert(rsrcname != NULL && errstr != NULL); in dump_resume() 226 rv = dump_configure(dc, errstr); in dump_resume() 239 char **errstr, rcm_info_t **dependent) in dump_offline() argument 257 rv = dump_relocate(dc, errstr); in dump_offline() 265 (void) alloc_usage(errstr, conf_flags); in dump_offline() 273 char **errstr, rcm_info_t **dependent) in dump_online() argument 286 rv = dump_configure(dc, errstr); in dump_online() [all …]
|
H A D | cluster_rcm.c | 154 char **infostr, char **errstr, nvlist_t *props, rcm_info_t **dependent) in cluster_getinfo() argument 168 timespec_t *interval, uint_t flags, char **errstr, in cluster_suspend() argument 171 if ((*errstr = strdup(OS_SUSPEND_ERR)) == NULL) in cluster_suspend() 180 char **errstr, rcm_info_t **dependent) in cluster_resume() argument 192 char **errstr, rcm_info_t **dependent) in cluster_offline() argument 194 if ((*errstr = strdup(OS_OFFLINE_ERR)) == NULL) in cluster_offline() 203 char **errstr, rcm_info_t **dependent) in cluster_online() argument 211 char **errstr, rcm_info_t **dependent) in cluster_remove() argument 213 if ((*errstr = strdup(OS_REMOVE_ERR)) == NULL) in cluster_remove()
|
H A D | swap_rcm.c | 215 rv = swap_delete(sf, errstr); in swap_suspend() 224 char **errstr, rcm_info_t **dependent) in swap_resume() argument 237 rv = swap_add(sf, errstr); in swap_resume() 250 char **errstr, rcm_info_t **dependent) in swap_offline() argument 267 rv = swap_delete(sf, errstr); in swap_offline() 273 (void) alloc_usage(errstr); in swap_offline() 281 char **errstr, rcm_info_t **dependent) in swap_online() argument 294 rv = swap_add(sf, errstr); in swap_online() 303 char **errstr, rcm_info_t **dependent) in swap_remove() argument 332 swap_delete(swap_file_t *sf, char **errstr) in swap_delete() argument [all …]
|
/illumos-gate/usr/src/cmd/sf880drd/ |
H A D | sf880drd.c | 184 char *errstr = NULL; in pushbutton_event() local 191 NULL, NULL, &errstr, 0); in pushbutton_event() 193 report_cfgadm_error(rv, errstr); in pushbutton_event() 217 rv = config_change_state(cmd, 1, &ap_id, NULL, NULL, NULL, &errstr, 0); in pushbutton_event() 219 report_cfgadm_error(rv, errstr); in pushbutton_event() 224 if (errstr) in pushbutton_event() 225 free(errstr); in pushbutton_event() 366 report_cfgadm_error(int cfgerrnum, char *errstr) in report_cfgadm_error() argument 375 if (errstr != NULL && *errstr != '\0') { in report_cfgadm_error() 376 (void) fprintf(stderr, "%s: %s\n", ep, errstr); in report_cfgadm_error()
|
/illumos-gate/usr/src/lib/libtsnet/common/ |
H A D | tsol_gettpent.c | 55 char *errstr = NULL; in tsol_gettpbyname() local 78 return (tpstr_to_ent(tpstrp, &err, &errstr)); in tsol_gettpbyname() 100 char *errstr = NULL; in tsol_gettpent() local 119 return (tpstr_to_ent(tpstrp, &err, &errstr)); in tsol_gettpent() 126 char *errstr = NULL; in tsol_fgettpent() local 138 tpentp = tpstr_to_ent(tpstrp, &err, &errstr); in tsol_fgettpent() 146 gettext("Error parsing tnrhtp file"), errstr, in tsol_fgettpent() 147 (strlen(errstr) > 32)? "...": "", in tsol_fgettpent() 155 tpentp = tpstr_to_ent(tpstrp, &err, &errstr); in tsol_fgettpent()
|
H A D | tsol_getrhent.c | 59 char *errstr = NULL; in tsol_getrhbyaddr() local 84 return (rhstr_to_ent(rhstrp, &err, &errstr)); in tsol_getrhbyaddr() 106 char *errstr = NULL; in tsol_getrhent() local 125 return (rhstr_to_ent(rhstrp, &err, &errstr)); in tsol_getrhent() 132 char *errstr = NULL; in tsol_fgetrhent() local 144 rhentp = rhstr_to_ent(rhstrp, &err, &errstr); in tsol_fgetrhent() 152 gettext("Error parsing tnrhdb file"), errstr, in tsol_fgetrhent() 153 (strlen(errstr) > 32)? "...": "", in tsol_fgetrhent() 161 rhentp = rhstr_to_ent(rhstrp, &err, &errstr); in tsol_fgetrhent()
|
/illumos-gate/usr/src/test/libc-tests/tests/ |
H A D | strtonum.c | 32 const char *errstr; in runtestx() local 37 val = strtonum(nstr, minval, maxval, &errstr); in runtestx() 40 val = strtonumx(nstr, minval, maxval, &errstr, base); in runtestx() 46 if (errstr != NULL) { in runtestx() 49 key, errstr, minval, maxval); in runtestx() 63 if (errstr == NULL) { in runtestx() 71 key, errstr, minval, maxval); in runtestx()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | 6to4relay.c | 69 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()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/ |
H A D | main.c | 320 const char *errstr; in setpeer() local 369 if (errstr != NULL) { in setpeer() 371 argv[2], errstr); in setpeer() 661 const char *errstr; in setrexmt() local 677 t = strtonum(argv[1], 0, INT_MAX, &errstr); in setrexmt() 678 if (errstr != NULL) in setrexmt() 688 const char *errstr; in settimeout() local 703 t = strtonum(argv[1], 0, INT_MAX, &errstr); in settimeout() 704 if (errstr != NULL) in settimeout() 956 const char *errstr; in setblksize() local [all …]
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fssnap/ |
H A D | fssnap.c | 678 char *errstr; in die_perror() local 683 errstr = strerror(en); in die_perror() 684 if (errstr == NULL) { in die_perror() 689 progname, string, en, errstr); in die_perror() 706 char *errstr; in warn_errno() local 708 errstr = strerror(en); in warn_errno() 709 if (errstr == NULL) { in warn_errno() 716 fprintf(stderr, ": %s\n", errstr); in warn_errno() 724 char *errstr; in die_errno() local 726 errstr = strerror(en); in die_errno() [all …]
|
/illumos-gate/usr/src/cmd/connstat/ |
H A D | connstat_main.c | 165 const char *errstr = NULL; in main() local 190 count = strtonum(optarg, 1, INT_MAX, &errstr); in main() 191 if (errstr != NULL) { in main() 194 optarg, errstr); in main() 206 interval = strtonum(optarg, 1, INT_MAX, &errstr); in main() 207 if (errstr != NULL) { in main() 210 optarg, errstr); in main() 345 const char *errstr = NULL; in process_filter() local 407 *portp = strtonum(val, 1, UINT16_MAX, &errstr); in process_filter() 408 if (errstr != NULL) { in process_filter() [all …]
|
/illumos-gate/usr/src/cmd/tsol/tnctl/ |
H A D | tnctl.c | 117 print_error(int linenum, int err, const char *errstr) in print_error() argument 125 (void) fprintf(stderr, "%.32s\n", errstr); in print_error() 238 char *errstr; in process_rh() local 254 rhentp = rhstr_to_ent(&rhstr, &err, &errstr); in process_rh() 256 print_error(0, err, errstr); in process_rh() 405 char *errstr; in process_tnzone() local 434 print_error(linenum, err, errstr); in process_tnzone() 522 char *errstr; in process_tp() local 528 tpentp = tpstr_to_ent(&tpstr, &err, &errstr); in process_tp() 530 print_error(0, err, errstr); in process_tp() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/ |
H A D | netcat.c | 178 iflag = strtonum(optarg, 0, UINT_MAX, &errstr); in main() 179 if (errstr) in main() 180 errx(1, "interval %s: %s", errstr, optarg); in main() 214 if (errstr) in main() 215 errx(1, "timeout %s: %s", errstr, optarg); in main() 334 &errstr) == 0) in main() 336 uport, errstr); in main() 776 const char *errstr; in build_ports() local 800 if (errstr) in build_ports() 807 if (errstr) in build_ports() [all …]
|
/illumos-gate/usr/src/cmd/pools/common/ |
H A D | utils.c | 47 const char *errstr; in get_errstr_err() local 50 errstr = strerror(syserr); in get_errstr_err() 52 errstr = pool_strerror(errnum); in get_errstr_err() 53 return (errstr); in get_errstr_err()
|
/illumos-gate/usr/src/cmd/oplhpd/ |
H A D | scf_notify.c | 111 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()
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | setoption.c | 52 char *matched, *errstr; in ldap_set_option() local 296 LDAP_GET_LDERRNO(ld, &matched, &errstr); in ldap_set_option() 298 errstr = nsldapi_strdup(errstr); in ldap_set_option() 299 LDAP_SET_LDERRNO(ld, *((int *)optdata), matched, errstr); in ldap_set_option() 311 rc = LDAP_GET_LDERRNO(ld, NULL, &errstr); in ldap_set_option() 312 errstr = nsldapi_strdup(errstr); in ldap_set_option() 314 nsldapi_strdup((char *)optdata), errstr); in ldap_set_option()
|
/illumos-gate/usr/src/lib/libcryptoutil/common/ |
H A D | pkcserror.c | 44 static char errstr[128]; in pkcs11_strerror() local 239 (void) snprintf(errstr, sizeof (errstr), in pkcs11_strerror() 241 return (errstr); in pkcs11_strerror()
|