/illumos-gate/usr/src/cmd/auditreduce/ |
H A D | time.c | 213 (void) sprintf(errbuf, in check_time() 215 error_str = errbuf; in check_time() 217 (void) sprintf(errbuf, in check_time() 219 error_str = errbuf; in check_time() 221 (void) sprintf(errbuf, in check_time() 223 error_str = errbuf; in check_time() 225 (void) sprintf(errbuf, in check_time() 227 error_str = errbuf; in check_time() 229 (void) sprintf(errbuf, in check_time() 231 error_str = errbuf; in check_time() [all …]
|
H A D | option.c | 331 (void) sprintf(errbuf, gettext("invalid object arg (%s)"), in proc_object() 333 error_str = errbuf; in proc_object() 362 (void) sprintf(errbuf, in proc_object() 365 error_str = errbuf; in proc_object() 415 (void) sprintf(errbuf, gettext("invalid object type (%s)"), in proc_object() 417 error_str = errbuf; in proc_object() 470 (void) sprintf(errbuf, gettext("invalid event (%s)"), optstr); in proc_type() 471 error_str = errbuf; in proc_type() 566 (void) sprintf(errbuf, gettext("'%c' unknown option"), opt); in proc_id() 567 error_str = errbuf; in proc_id() [all …]
|
H A D | main.c | 628 (void) sprintf(errbuf, gettext( in delete_infiles() 632 perror(errbuf); in delete_infiles() 657 (void) sprintf(errbuf, in rm_outfile() 660 perror(errbuf); in rm_outfile() 685 (void) sprintf(errbuf, gettext("%s close on %s failed"), in close_outfile() 687 perror(errbuf); in close_outfile() 741 (void) sprintf(errbuf, in write_file_token() 747 (void) sprintf(errbuf, in write_file_token() 753 perror(errbuf); in write_file_token() 862 (void) sprintf(errbuf, in open_outfile() [all …]
|
H A D | proc.c | 256 (void) sprintf(errbuf, gettext( 259 perror(errbuf); 355 (void) sprintf(errbuf, gettext( 358 perror(errbuf); 880 (void) sprintf(errbuf, gettext("%s is empty"), fn); 881 error_str = errbuf; 885 (void) sprintf(errbuf, gettext("%s not an audit file "), fn); 886 error_str = errbuf; 921 (void) sprintf(errbuf, 924 error_str = errbuf; [all …]
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_dataset.c | 678 char errbuf[1024]; in zfs_open() local 681 (void) snprintf(errbuf, sizeof (errbuf), in zfs_open() 688 (void) zfs_error(hdl, EZFS_INVALIDNAME, errbuf); in zfs_open() 703 (void) zfs_standard_error(hdl, errno, errbuf); in zfs_open() 724 (void) zfs_standard_error(hdl, errno, errbuf); in zfs_open() 734 (void) zfs_error(hdl, EZFS_NOENT, errbuf); in zfs_open() 739 (void) zfs_standard_error(hdl, errno, errbuf); in zfs_open() 752 (void) zfs_error(hdl, EZFS_BADTYPE, errbuf); in zfs_open() 961 boolean_t key_params_ok, const char *errbuf) in zfs_valid_proplist() argument 993 (void) zfs_error(hdl, EZFS_BADPROP, errbuf); in zfs_valid_proplist() [all …]
|
H A D | libzfs_diff.c | 69 char errbuf[1024]; member 110 (void) snprintf(di->errbuf, sizeof (di->errbuf), in get_stats_for_obj() 116 (void) snprintf(di->errbuf, sizeof (di->errbuf), in get_stats_for_obj() 121 (void) snprintf(di->errbuf, sizeof (di->errbuf), in get_stats_for_obj() 410 (void) snprintf(di->errbuf, sizeof (di->errbuf), in write_free_diffs() 433 (void) strerror_r(errno, di->errbuf, sizeof (di->errbuf)); in differ() 479 (void) snprintf(di->errbuf, sizeof (di->errbuf), in differ() 497 (void) snprintf(di->errbuf, sizeof (di->errbuf), in find_shares_object() 499 return (zfs_error(di->zhp->zfs_hdl, EZFS_DIFF, di->errbuf)); in find_shares_object() 520 (void) snprintf(di->errbuf, sizeof (di->errbuf), in make_temp_snapshot() [all …]
|
H A D | libzfs_sendrecv.c | 1050 char errbuf[1024]; in estimate_ioctl() local 1051 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN, in estimate_ioctl() 1058 return (zfs_error(hdl, EZFS_CROSSTARGET, errbuf)); in estimate_ioctl() 1063 return (zfs_error(hdl, EZFS_CRYPTOFAILED, errbuf)); in estimate_ioctl() 1072 return (zfs_error(hdl, EZFS_NOENT, errbuf)); in estimate_ioctl() 1086 return (zfs_error(hdl, EZFS_BADBACKUP, errbuf)); in estimate_ioctl() 1089 return (zfs_standard_error(hdl, errno, errbuf)); in estimate_ioctl() 1128 char errbuf[1024]; in dump_ioctl() local 1129 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN, in dump_ioctl() 1143 return (zfs_error(hdl, EZFS_CROSSTARGET, errbuf)); in dump_ioctl() [all …]
|
H A D | libzfs_pool.c | 446 nvlist_t *props, uint64_t version, prop_flags_t flags, char *errbuf) in zpool_valid_proplist() argument 477 (void) zfs_error(hdl, EZFS_BADPROP, errbuf); in zpool_valid_proplist() 484 (void) zfs_error(hdl, EZFS_BADPROP, errbuf); in zpool_valid_proplist() 494 (void) zfs_error(hdl, EZFS_BADPROP, errbuf); in zpool_valid_proplist() 511 (void) zfs_error(hdl, EZFS_BADPROP, errbuf); in zpool_valid_proplist() 518 (void) zfs_error(hdl, EZFS_PROPREADONLY, errbuf); in zpool_valid_proplist() 523 &strval, &intval, errbuf) != 0) in zpool_valid_proplist() 536 (void) zfs_error(hdl, EZFS_BADVERSION, errbuf); in zpool_valid_proplist() 546 (void) zfs_error(hdl, EZFS_BADPROP, errbuf); in zpool_valid_proplist() 559 (void) zfs_error(hdl, EZFS_BADPROP, errbuf); in zpool_valid_proplist() [all …]
|
/illumos-gate/usr/src/lib/cfgadm_plugins/ac/common/ |
H A D | mema_test.c | 137 struct mtest_error errbuf; in memory_test_normal() local 177 if (mtest_read(handle, (void *)readbuf, pageno, 0, 0, &errbuf) in memory_test_normal() 183 if (errbuf.error_type != MTEST_ERR_NONE) { in memory_test_normal() 184 if (errbuf.error_type == MTEST_ERR_CE && in memory_test_normal() 219 if (mtest_read(handle, (void *)readbuf, pageno, 0, 0, &errbuf) in memory_test_normal() 225 if (errbuf.error_type != MTEST_ERR_NONE) { in memory_test_normal() 226 if (errbuf.error_type == MTEST_ERR_CE && in memory_test_normal() 247 if (mtest_read(handle, (void *)readbuf, pageno, 0, 0, &errbuf) in memory_test_normal() 253 if (errbuf.error_type != MTEST_ERR_NONE) { in memory_test_normal() 254 if (errbuf.error_type == MTEST_ERR_CE && in memory_test_normal() [all …]
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_principal2.c | 236 char errbuf[1024]; local 252 snprintf(errbuf, sizeof(errbuf), 254 krb5_set_error_message(context, st, "%s", errbuf); 262 snprintf(errbuf, sizeof(errbuf), 264 krb5_set_error_message(context, st, "%s", errbuf); 271 snprintf(errbuf, sizeof(errbuf), 273 krb5_set_error_message(context, st, "%s", errbuf); 279 snprintf(errbuf, sizeof(errbuf), gettext("unknown option: %s"), arg); 280 krb5_set_error_message(context, st, "%s", errbuf); 287 snprintf(errbuf, sizeof(errbuf), [all …]
|
H A D | ldap_service_stash.c | 51 char errbuf[1024]; local 70 strerror_r(errno, errbuf, sizeof(errbuf)); 71 krb5_set_error_message (context, st, "%s", errbuf); 78 strerror_r(errno, errbuf, sizeof(errbuf)); 79 krb5_set_error_message (context, st, "%s", errbuf); 87 strerror_r(errno, errbuf, sizeof(errbuf)); 88 krb5_set_error_message (context, st, "%s", errbuf);
|
H A D | ldap_realm.c | 402 char errbuf[1024]; local 652 snprintf (errbuf, sizeof(errbuf), gettext("Error removing 'krbRealmReferences' from %s: "), 654 prepend_err_str (context, errbuf, st, st); 663 snprintf (errbuf, sizeof(errbuf), gettext("Error adding 'krbRealmReferences' to %s: "), 665 prepend_err_str (context, errbuf, st, st); 689 snprintf(errbuf, sizeof(errbuf), gettext("Error removing 'krbRealmReferences' from " 691 prepend_err_str (context, errbuf, st, st); 700 snprintf(errbuf, sizeof(errbuf), gettext("Error adding 'krbRealmReferences' to %s: "), 702 prepend_err_str (context, errbuf, st, st); 725 snprintf(errbuf, sizeof(errbuf), gettext("Error removing 'krbRealmReferences' from " [all …]
|
/illumos-gate/usr/src/test/libc-tests/tests/random/ |
H A D | getentropy.c | 30 uint8_t errbuf[512]; in main() local 37 ret = getentropy(errbuf, sizeof (errbuf)); in main() 41 ret = getentropy(errbuf, 257); in main() 45 ret = getentropy(errbuf, 256); in main() 48 ret = getentropy(errbuf, 0); in main()
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | dowait.c | 60 char *errbuf = NULL; in dowait() local 146 errbuf = geterrbuf(prs); in dowait() 148 errbuf in dowait() 156 notify (prs, errbuf, killed, exited, 0); in dowait() 157 if (errbuf) in dowait() 158 Free (errbuf); in dowait() 361 errbuf = geterrbuf(prs); in dowait() 364 if (errbuf) { in dowait() 365 Free(errbuf); in dowait() 366 errbuf = NULL; in dowait() [all …]
|
H A D | notify.c | 94 notify(register RSTATUS *prs, char *errbuf, int k, int e, int slow) in notify() argument 110 && !e && !k && !errbuf /* exited normally */ in notify() 157 if (errbuf) { in notify() 158 for (cp = errbuf; *cp && *cp == '\n'; cp++) in notify()
|
/illumos-gate/usr/src/test/bhyve-tests/tests/viona/ |
H A D | link_params.c | 89 uint8_t errbuf[512]; in test_set_param_errors() local 91 set_param.vsp_error = errbuf; in test_set_param_errors() 92 set_param.vsp_error_sz = sizeof (errbuf); in test_set_param_errors() 176 char errbuf[DLADM_STRSIZE]; in main() local 179 VIONA_TEST_IFACE_NAME, dladm_status2str(dls, errbuf)); in main() 200 uint8_t errbuf[256]; in main() local 202 .vsp_error = errbuf, in main() 203 .vsp_error_sz = sizeof (errbuf) in main()
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | kdb_db2.c | 96 char errbuf[1024]; variable 353 (void) snprintf(errbuf, sizeof(errbuf), gettext("Failed to open \"%s\": "), filename); in krb5_db2_db_init() 354 krb5_db2_prepend_err_str(context, errbuf, retval, retval); in krb5_db2_db_init() 372 snprintf(errbuf, sizeof(errbuf), in krb5_db2_db_init() 375 krb5_db2_prepend_err_str(context, errbuf, retval, retval); in krb5_db2_db_init() 571 snprintf(errbuf, sizeof(errbuf), gettext("Failed to modify " in krb5_db2_db_end_update() 574 krb5_db2_prepend_err_str(context, errbuf, retval, retval); in krb5_db2_db_end_update() 579 snprintf(errbuf, sizeof(errbuf), gettext("Failed to stat \"%s\": "), in krb5_db2_db_end_update() 581 krb5_db2_prepend_err_str(context, errbuf, retval, retval); in krb5_db2_db_end_update() 589 snprintf(errbuf, sizeof(errbuf), gettext("Failed to stat \"%s\": "), in krb5_db2_db_end_update() [all …]
|
/illumos-gate/usr/src/test/crypto-tests/tests/common/ |
H A D | testfuncs.c | 182 char errbuf[BUFSZ] = { 0 }; in test_multi() local 251 cryptotest_errstr(ret, errbuf, sizeof (errbuf))); in test_multi() 255 ctest_errstr(ret, errbuf, sizeof (errbuf))); in test_multi() 271 char errbuf[BUFSZ] = { 0 }; in test_single() local 296 cryptotest_errstr(ret, errbuf, sizeof (errbuf))); in test_single() 300 ctest_errstr(ret, errbuf, sizeof (errbuf))); in test_single()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getopt.c | 59 char errbuf[256]; \ 63 (void) snprintf(errbuf, sizeof (errbuf), s, argv[0], \ 65 (void) write(2, errbuf, strlen(errbuf)); }
|
/illumos-gate/usr/src/lib/libnsl/yp/ |
H A D | yp_all.c | 72 char errbuf[BUFSIZ]; in __yp_all_cflookup() local 133 (void) snprintf(errbuf, BUFSIZ, "yp_all \ in __yp_all_cflookup() 135 syslog(LOG_ERR, "%s", clnt_spcreateerror(errbuf)); in __yp_all_cflookup() 196 char errbuf[BUFSIZ]; in __yp_all_rsvdport() local 267 (void) snprintf(errbuf, BUFSIZ, "yp_all \ in __yp_all_rsvdport() 269 syslog(LOG_ERR, "%s", clnt_spcreateerror(errbuf)); in __yp_all_rsvdport()
|
/illumos-gate/usr/src/lib/libc/port/regex/ |
H A D | regerror.c | 91 char *_RESTRICT_KYWD errbuf, size_t errbuf_size) in regerror() argument 122 (void) strcpy(errbuf, s); in regerror() 124 (void) strncpy(errbuf, s, errbuf_size-1); in regerror() 125 errbuf[errbuf_size-1] = '\0'; in regerror()
|
/illumos-gate/usr/src/cmd/sendmail/db/db/ |
H A D | db_err.c | 112 char errbuf[2048]; /* XXX: END OF THE STACK DON'T TRUST SPRINTF. */ local 123 (void)vsnprintf(errbuf, sizeof(errbuf), fmt, ap); 124 dbenv->db_errcall(dbenv->db_errpfx, errbuf);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | hostconfig.c | 318 char errbuf[MAX_MACHINE_NAME + 28]; in bpanswer() local 353 (void) snprintf(errbuf, sizeof (errbuf), in bpanswer() 356 perror(errbuf); in bpanswer() 366 (void) snprintf(errbuf, sizeof (errbuf), in bpanswer() 368 perror(errbuf); in bpanswer()
|
/illumos-gate/usr/src/lib/libinetutil/common/ |
H A D | ifaddrlist.c | 54 ifaddrlist(struct ifaddrlist **ipaddrp, int family, uint_t flags, char *errbuf) in ifaddrlist() argument 68 (void) strlcpy(errbuf, "invalid address family", ERRBUFSIZE); in ifaddrlist() 180 (void) snprintf(errbuf, ERRBUFSIZE, "%s: %s", opstr, in ifaddrlist() 183 (void) snprintf(errbuf, ERRBUFSIZE, "%s: %s: %s", opstr, in ifaddrlist()
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | ckstr.c | 149 errbuf[1024]; in ckstr() local 181 (void) snprintf(errbuf, sizeof (errbuf), errstr, length); in ckstr() 182 puterror(stderr, errbuf, error); in ckstr()
|