/titanic_41/usr/src/cmd/auditreduce/ |
H A D | time.c | 215 (void) sprintf(errbuf, in check_time() 217 error_str = errbuf; in check_time() 219 (void) sprintf(errbuf, in check_time() 221 error_str = errbuf; in check_time() 223 (void) sprintf(errbuf, in check_time() 225 error_str = errbuf; in check_time() 227 (void) sprintf(errbuf, in check_time() 229 error_str = errbuf; in check_time() 231 (void) sprintf(errbuf, in check_time() 233 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 | 616 (void) sprintf(errbuf, gettext( in delete_infiles() 620 perror(errbuf); in delete_infiles() 645 (void) sprintf(errbuf, in rm_outfile() 648 perror(errbuf); in rm_outfile() 672 (void) sprintf(errbuf, gettext("%s close on %s failed"), in close_outfile() 674 perror(errbuf); in close_outfile() 728 (void) sprintf(errbuf, in write_file_token() 734 (void) sprintf(errbuf, in write_file_token() 740 perror(errbuf); in write_file_token() 849 (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 …]
|
/titanic_41/usr/src/lib/libzfs/common/ |
H A D | libzfs_dataset.c | 683 char errbuf[1024]; in zfs_open() local 686 (void) snprintf(errbuf, sizeof (errbuf), in zfs_open() 693 (void) zfs_error(hdl, EZFS_INVALIDNAME, errbuf); in zfs_open() 708 (void) zfs_standard_error(hdl, errno, errbuf); in zfs_open() 729 (void) zfs_standard_error(hdl, errno, errbuf); in zfs_open() 739 (void) zfs_error(hdl, EZFS_NOENT, errbuf); in zfs_open() 744 (void) zfs_standard_error(hdl, errno, errbuf); in zfs_open() 757 (void) zfs_error(hdl, EZFS_BADTYPE, errbuf); in zfs_open() 953 uint64_t zoned, zfs_handle_t *zhp, const char *errbuf) in zfs_valid_proplist() argument 985 (void) zfs_error(hdl, EZFS_BADPROP, errbuf); in zfs_valid_proplist() [all …]
|
H A D | libzfs_diff.c | 76 char errbuf[1024]; member 114 (void) snprintf(di->errbuf, sizeof (di->errbuf), in get_stats_for_obj() 120 (void) snprintf(di->errbuf, sizeof (di->errbuf), in get_stats_for_obj() 408 (void) snprintf(di->errbuf, sizeof (di->errbuf), in write_free_diffs() 431 (void) strerror_r(errno, di->errbuf, sizeof (di->errbuf)); in differ() 477 (void) snprintf(di->errbuf, sizeof (di->errbuf), in differ() 495 (void) snprintf(di->errbuf, sizeof (di->errbuf), in find_shares_object() 497 return (zfs_error(di->zhp->zfs_hdl, EZFS_DIFF, di->errbuf)); in find_shares_object() 518 (void) snprintf(di->errbuf, sizeof (di->errbuf), in make_temp_snapshot() 522 return (zfs_error(hdl, EZFS_DIFF, di->errbuf)); in make_temp_snapshot() [all …]
|
H A D | libzfs_sendrecv.c | 901 char errbuf[1024]; in estimate_ioctl() local 902 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN, in estimate_ioctl() 909 return (zfs_error(hdl, EZFS_CROSSTARGET, errbuf)); in estimate_ioctl() 918 return (zfs_error(hdl, EZFS_NOENT, errbuf)); in estimate_ioctl() 932 return (zfs_error(hdl, EZFS_BADBACKUP, errbuf)); in estimate_ioctl() 935 return (zfs_standard_error(hdl, errno, errbuf)); in estimate_ioctl() 974 char errbuf[1024]; in dump_ioctl() local 975 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN, in dump_ioctl() 989 return (zfs_error(hdl, EZFS_CROSSTARGET, errbuf)); in dump_ioctl() 998 return (zfs_error(hdl, EZFS_NOENT, errbuf)); in dump_ioctl() [all …]
|
H A D | libzfs_pool.c | 394 nvlist_t *props, uint64_t version, prop_flags_t flags, char *errbuf) in zpool_valid_proplist() argument 424 (void) zfs_error(hdl, EZFS_BADPROP, errbuf); in zpool_valid_proplist() 431 (void) zfs_error(hdl, EZFS_BADPROP, errbuf); in zpool_valid_proplist() 440 (void) zfs_error(hdl, EZFS_BADPROP, errbuf); in zpool_valid_proplist() 457 (void) zfs_error(hdl, EZFS_BADPROP, errbuf); in zpool_valid_proplist() 464 (void) zfs_error(hdl, EZFS_PROPREADONLY, errbuf); in zpool_valid_proplist() 469 &strval, &intval, errbuf) != 0) in zpool_valid_proplist() 482 (void) zfs_error(hdl, EZFS_BADVERSION, errbuf); in zpool_valid_proplist() 492 (void) zfs_error(hdl, EZFS_BADPROP, errbuf); in zpool_valid_proplist() 500 (void) zfs_error(hdl, EZFS_BADVERSION, errbuf); in zpool_valid_proplist() [all …]
|
/titanic_41/usr/src/lib/cfgadm_plugins/ac/common/ |
H A D | mema_test.c | 139 struct mtest_error errbuf; in memory_test_normal() local 179 if (mtest_read(handle, (void *)readbuf, pageno, 0, 0, &errbuf) in memory_test_normal() 185 if (errbuf.error_type != MTEST_ERR_NONE) { in memory_test_normal() 186 if (errbuf.error_type == MTEST_ERR_CE && in memory_test_normal() 221 if (mtest_read(handle, (void *)readbuf, pageno, 0, 0, &errbuf) in memory_test_normal() 227 if (errbuf.error_type != MTEST_ERR_NONE) { in memory_test_normal() 228 if (errbuf.error_type == MTEST_ERR_CE && in memory_test_normal() 249 if (mtest_read(handle, (void *)readbuf, pageno, 0, 0, &errbuf) in memory_test_normal() 255 if (errbuf.error_type != MTEST_ERR_NONE) { in memory_test_normal() 256 if (errbuf.error_type == MTEST_ERR_CE && in memory_test_normal() [all …]
|
/titanic_41/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()
|
/titanic_41/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_principal2.c | 238 char errbuf[1024]; local 254 snprintf(errbuf, sizeof(errbuf), 256 krb5_set_error_message(context, st, "%s", errbuf); 264 snprintf(errbuf, sizeof(errbuf), 266 krb5_set_error_message(context, st, "%s", errbuf); 273 snprintf(errbuf, sizeof(errbuf), 275 krb5_set_error_message(context, st, "%s", errbuf); 281 snprintf(errbuf, sizeof(errbuf), gettext("unknown option: %s"), arg); 282 krb5_set_error_message(context, st, "%s", errbuf); 289 snprintf(errbuf, sizeof(errbuf), [all …]
|
H A D | ldap_service_stash.c | 53 char errbuf[1024]; local 72 strerror_r(errno, errbuf, sizeof(errbuf)); 73 krb5_set_error_message (context, st, "%s", errbuf); 80 strerror_r(errno, errbuf, sizeof(errbuf)); 81 krb5_set_error_message (context, st, "%s", errbuf); 89 strerror_r(errno, errbuf, sizeof(errbuf)); 90 krb5_set_error_message (context, st, "%s", errbuf);
|
H A D | ldap_realm.c | 403 char errbuf[1024]; local 653 snprintf (errbuf, sizeof(errbuf), gettext("Error removing 'krbRealmReferences' from %s: "), 655 prepend_err_str (context, errbuf, st, st); 664 snprintf (errbuf, sizeof(errbuf), gettext("Error adding 'krbRealmReferences' to %s: "), 666 prepend_err_str (context, errbuf, st, st); 690 snprintf(errbuf, sizeof(errbuf), gettext("Error removing 'krbRealmReferences' from " 692 prepend_err_str (context, errbuf, st, st); 701 snprintf(errbuf, sizeof(errbuf), gettext("Error adding 'krbRealmReferences' to %s: "), 703 prepend_err_str (context, errbuf, st, st); 726 snprintf(errbuf, sizeof(errbuf), gettext("Error removing 'krbRealmReferences' from " [all …]
|
/titanic_41/usr/src/cmd/lp/cmd/lpsched/ |
H A D | dowait.c | 62 char *errbuf = NULL; in dowait() local 148 errbuf = geterrbuf(prs); in dowait() 150 errbuf in dowait() 158 notify (prs, errbuf, killed, exited, 0); in dowait() 159 if (errbuf) in dowait() 160 Free (errbuf); in dowait() 363 errbuf = geterrbuf(prs); in dowait() 366 if (errbuf) { in dowait() 367 Free(errbuf); in dowait() 368 errbuf = NULL; in dowait() [all …]
|
H A D | notify.c | 97 notify(register RSTATUS *prs, char *errbuf, int k, int e, int slow) in notify() argument 113 && !e && !k && !errbuf /* exited normally */ in notify() 160 if (errbuf) { in notify() 161 for (cp = errbuf; *cp && *cp == '\n'; cp++) in notify()
|
/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/ |
H A D | kdb_db2.c | 96 char errbuf[1024]; variable 352 (void) snprintf(errbuf, sizeof(errbuf), gettext("Failed to open \"%s\": "), filename); in krb5_db2_db_init() 353 krb5_db2_prepend_err_str(context, errbuf, retval, retval); in krb5_db2_db_init() 371 snprintf(errbuf, sizeof(errbuf), in krb5_db2_db_init() 374 krb5_db2_prepend_err_str(context, errbuf, retval, retval); in krb5_db2_db_init() 570 snprintf(errbuf, sizeof(errbuf), gettext("Failed to modify " in krb5_db2_db_end_update() 573 krb5_db2_prepend_err_str(context, errbuf, retval, retval); in krb5_db2_db_end_update() 578 snprintf(errbuf, sizeof(errbuf), gettext("Failed to stat \"%s\": "), in krb5_db2_db_end_update() 580 krb5_db2_prepend_err_str(context, errbuf, retval, retval); in krb5_db2_db_end_update() 588 snprintf(errbuf, sizeof(errbuf), gettext("Failed to stat \"%s\": "), in krb5_db2_db_end_update() [all …]
|
/titanic_41/usr/src/lib/libdscfg/common/ |
H A D | cfg_cluster.c | 119 char errbuf[SCCONF_MAXSTRINGLEN]; in cfg_cluster_init() local 182 scconf_strerr(errbuf, err); in cfg_cluster_init() 183 fprintf(stderr, "scconf_get_nodename: %d: %s\n", err, errbuf); in cfg_cluster_init() 447 char errbuf[SCCONF_MAXSTRINGLEN]; in cfg_dgname() local 478 scconf_strerr(errbuf, conferr); in cfg_dgname() 480 "scconf_get_ds_by_devt: %d: %s\n", conferr, errbuf); in cfg_dgname() 521 char errbuf[SCCONF_MAXSTRINGLEN]; in init_sc_entry() local 546 scstat_strerr(err, errbuf); in init_sc_entry() 548 err, errbuf); in init_sc_entry()
|
/titanic_41/usr/src/lib/libc/port/locale/ |
H A D | regerror.c | 89 char *_RESTRICT_KYWD errbuf, size_t errbuf_size) in regerror() argument 104 (void) strcpy(errbuf, s); in regerror() 106 (void) strncpy(errbuf, s, errbuf_size-1); in regerror() 107 errbuf[errbuf_size-1] = '\0'; in regerror()
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | getopt.c | 61 char errbuf[256]; \ 65 (void) snprintf(errbuf, sizeof (errbuf), s, argv[0], \ 67 (void) write(2, errbuf, strlen(errbuf)); }
|
/titanic_41/usr/src/lib/libnsl/yp/ |
H A D | yp_all.c | 74 char errbuf[BUFSIZ]; in __yp_all_cflookup() local 135 (void) snprintf(errbuf, BUFSIZ, "yp_all \ in __yp_all_cflookup() 137 syslog(LOG_ERR, "%s", clnt_spcreateerror(errbuf)); in __yp_all_cflookup() 198 char errbuf[BUFSIZ]; in __yp_all_rsvdport() local 269 (void) snprintf(errbuf, BUFSIZ, "yp_all \ in __yp_all_rsvdport() 271 syslog(LOG_ERR, "%s", clnt_spcreateerror(errbuf)); in __yp_all_rsvdport()
|
/titanic_41/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);
|
/titanic_41/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()
|
/titanic_41/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()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/wanboot/p12split/ |
H A D | p12split.c | 636 static char errbuf[8192]; in cryptoerr() local 642 errbuf[0] = '\0'; in cryptoerr() 645 (void) strlcat(errbuf, "\n\t", sizeof (errbuf)); in cryptoerr() 648 (void) strlcat(errbuf, strerror(errno), in cryptoerr() 649 sizeof (errbuf)); in cryptoerr() 652 (void) strlcat(errbuf, ERR_reason_error_string(err), in cryptoerr() 653 sizeof (errbuf)); in cryptoerr() 656 return (errbuf); in cryptoerr()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | hostconfig.c | 322 char errbuf[MAX_MACHINE_NAME + 28]; local 357 (void) snprintf(errbuf, sizeof (errbuf), 360 perror(errbuf); 370 (void) snprintf(errbuf, sizeof (errbuf), 372 perror(errbuf);
|