Home
last modified time | relevance | path

Searched refs:errbuf (Results 1 – 25 of 67) sorted by relevance

123

/illumos-gate/usr/src/cmd/auditreduce/
H A Dtime.c217 error_str = errbuf; in check_time()
221 error_str = errbuf; in check_time()
225 error_str = errbuf; in check_time()
229 error_str = errbuf; in check_time()
233 error_str = errbuf; in check_time()
245 error_str = errbuf; in check_time()
249 error_str = errbuf; in check_time()
392 error_str = errbuf; in derive_date()
398 error_str = errbuf; in derive_date()
419 error_str = errbuf; in derive_date()
[all …]
H A Doption.c333 error_str = errbuf; in proc_object()
417 error_str = errbuf; in proc_object()
471 error_str = errbuf; in proc_type()
567 error_str = errbuf; in proc_id()
586 error_str = errbuf; in proc_group()
606 error_str = errbuf; in proc_user()
681 error_str = errbuf; in proc_class()
773 perror(errbuf); in process_fileopt()
830 perror(errbuf); in gather_dir()
990 error_str = errbuf; in check_file()
[all …]
H A Dmain.c630 perror(errbuf); in delete_infiles()
655 (void) sprintf(errbuf, in rm_outfile()
658 perror(errbuf); in rm_outfile()
684 perror(errbuf); in close_outfile()
738 (void) sprintf(errbuf, in write_file_token()
744 (void) sprintf(errbuf, in write_file_token()
750 perror(errbuf); in write_file_token()
859 (void) sprintf(errbuf, in open_outfile()
861 perror(errbuf); in open_outfile()
867 (void) sprintf(errbuf, in open_outfile()
[all …]
H A Dproc.c259 perror(errbuf);
355 (void) sprintf(errbuf, gettext(
358 perror(errbuf);
881 error_str = errbuf;
886 error_str = errbuf;
921 (void) sprintf(errbuf,
924 error_str = errbuf;
967 (void) sprintf(errbuf, gettext(
970 error_str = errbuf;
998 (void) sprintf(errbuf,
[all …]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_dataset.c681 (void) snprintf(errbuf, sizeof (errbuf), in zfs_open()
1795 (void) snprintf(errbuf, sizeof (errbuf), in zfs_prop_set()
1831 (void) snprintf(errbuf, sizeof (errbuf), in zfs_prop_set_list()
3337 (void) snprintf(errbuf, sizeof (errbuf), in check_parents()
3828 (void) snprintf(errbuf, sizeof (errbuf), in zfs_destroy_snaps_nvl()
3836 (void) snprintf(errbuf, sizeof (errbuf), in zfs_destroy_snaps_nvl()
4272 (void) snprintf(errbuf, sizeof (errbuf), in zfs_rollback()
4412 (void) snprintf(errbuf, sizeof (errbuf), in zfs_rename()
4865 (void) snprintf(errbuf, sizeof (errbuf), in zfs_hold()
4899 (void) snprintf(errbuf, sizeof (errbuf), in zfs_hold_nvl()
[all …]
H A Dlibzfs_diff.c110 (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()
479 (void) snprintf(di->errbuf, sizeof (di->errbuf), in differ()
497 (void) snprintf(di->errbuf, sizeof (di->errbuf), in find_shares_object()
571 (void) snprintf(di->errbuf, sizeof (di->errbuf), in get_snapshot_names()
593 (void) snprintf(di->errbuf, sizeof (di->errbuf), in get_snapshot_names()
676 (void) snprintf(di->errbuf, sizeof (di->errbuf), in get_mountpoint()
762 (void) snprintf(errbuf, sizeof (errbuf), in zfs_show_diffs()
[all …]
H A Dlibzfs_sendrecv.c1051 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN, in estimate_ioctl()
1129 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN, in dump_ioctl()
1681 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN, in zfs_send_resume()
1788 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN, in zfs_send_resume()
1862 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN, in zfs_send()
1895 errbuf)); in zfs_send()
1952 (void) snprintf(errbuf, sizeof (errbuf), in zfs_send()
1963 errbuf); in zfs_send()
2172 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN, in zfs_send_one()
3109 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN, in zfs_receive_package()
[all …]
H A Dlibzfs_pool.c510 (void) zfs_error(hdl, EZFS_BADPROP, errbuf); in zpool_valid_proplist()
522 &strval, &intval, errbuf) != 0) in zpool_valid_proplist()
665 errbuf); in zpool_valid_proplist()
728 char errbuf[1024]; in zpool_set_prop() local
734 (void) snprintf(errbuf, sizeof (errbuf), in zpool_set_prop()
1819 char errbuf[1024]; in zpool_import_props() local
1824 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN, in zpool_import_props()
4574 char errbuf[1024]; in zpool_label_disk() local
4577 (void) snprintf(errbuf, sizeof (errbuf), in zpool_label_disk()
4794 char errbuf[1024]; in zvol_check_dump_config() local
[all …]
/illumos-gate/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema_test.c139 struct mtest_error errbuf; in memory_test_normal() local
186 if (errbuf.error_type == MTEST_ERR_CE && in memory_test_normal()
228 if (errbuf.error_type == MTEST_ERR_CE && in memory_test_normal()
294 struct mtest_error errbuf; in memory_test_quick() local
423 struct mtest_error errbuf; in memory_test_extended() local
475 line, 1, &errbuf) == -1) { in memory_test_extended()
500 line, 1, &errbuf) == -1) { in memory_test_extended()
521 line, 1, &errbuf) == -1) { in memory_test_extended()
575 line, 1, &errbuf) == -1) { in memory_test_extended()
624 line, 1, &errbuf) == -1) { in memory_test_extended()
[all …]
/illumos-gate/usr/src/test/libc-tests/tests/random/
H A Dgetentropy.c30 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/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_principal2.c254 snprintf(errbuf, sizeof(errbuf),
264 snprintf(errbuf, sizeof(errbuf),
273 snprintf(errbuf, sizeof(errbuf),
281 snprintf(errbuf, sizeof(errbuf), gettext("unknown option: %s"), arg);
289 snprintf(errbuf, sizeof(errbuf),
298 snprintf(errbuf, sizeof(errbuf),
630 snprintf(errbuf, sizeof(errbuf), gettext("'%s' not found: "), xargs.containerdn);
765 snprintf(errbuf, sizeof(errbuf), gettext("ldap object is already kerberized"));
784 snprintf(errbuf, sizeof(errbuf),
798 snprintf(errbuf, sizeof(errbuf),
[all …]
H A Dldap_service_stash.c53 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 Dldap_realm.c403 char errbuf[1024]; local
653 snprintf (errbuf, sizeof(errbuf), gettext("Error removing 'krbRealmReferences' from %s: "),
664 snprintf (errbuf, sizeof(errbuf), gettext("Error adding 'krbRealmReferences' to %s: "),
690 snprintf(errbuf, sizeof(errbuf), gettext("Error removing 'krbRealmReferences' from "
701 snprintf(errbuf, sizeof(errbuf), gettext("Error adding 'krbRealmReferences' to %s: "),
726 snprintf(errbuf, sizeof(errbuf), gettext("Error removing 'krbRealmReferences' from "
737 snprintf(errbuf, sizeof(errbuf), gettext("Error adding 'krbRealmReferences' to %s: "),
970 char errbuf[1024]; local
1147 snprintf(errbuf, sizeof(errbuf), gettext("Error adding 'krbRealmReferences' to %s: "),
1158 snprintf(errbuf, sizeof(errbuf), gettext("Error adding 'krbRealmReferences' to %s: "),
[all …]
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Ddowait.c62 char *errbuf = NULL; in dowait() local
148 errbuf = geterrbuf(prs); in dowait()
150 errbuf in dowait()
159 if (errbuf) in dowait()
160 Free (errbuf); in dowait()
366 if (errbuf) { in dowait()
367 Free(errbuf); in dowait()
368 errbuf = NULL; in dowait()
372 errbuf in dowait()
379 if (errbuf) in dowait()
[all …]
H A Dnotify.c97 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()
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/
H A Dkdb_db2.c96 char errbuf[1024]; variable
372 snprintf(errbuf, sizeof(errbuf), in krb5_db2_db_init()
571 snprintf(errbuf, sizeof(errbuf), gettext("Failed to modify " in krb5_db2_db_end_update()
579 snprintf(errbuf, sizeof(errbuf), gettext("Failed to stat \"%s\": "), in krb5_db2_db_end_update()
589 snprintf(errbuf, sizeof(errbuf), gettext("Failed to stat \"%s\": "), in krb5_db2_db_end_update()
650 snprintf(errbuf, sizeof(errbuf), in krb5_db2_db_lock()
662 snprintf(errbuf, sizeof(errbuf), in krb5_db2_db_lock()
687 snprintf(errbuf, sizeof(errbuf), in krb5_db2_db_lock()
783 snprintf(errbuf, sizeof(errbuf), gettext("Failed to open \"%s\": "), db_name); in krb5_db2_db_create()
801 snprintf(errbuf, sizeof(errbuf), gettext("Failed to open \"%s\": "), okname); in krb5_db2_db_create()
[all …]
/illumos-gate/usr/src/test/crypto-tests/tests/common/
H A Dtestfuncs.c182 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 Dgetopt.c59 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 Dyp_all.c74 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()
/illumos-gate/usr/src/lib/libc/port/regex/
H A Dregerror.c91 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 Ddb_err.c112 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/lib/libinetutil/common/
H A Difaddrlist.c54 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 Dckstr.c149 errbuf[1024]; in ckstr() local
181 (void) snprintf(errbuf, sizeof (errbuf), errstr, length); in ckstr()
182 puterror(stderr, errbuf, error); in ckstr()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dhostconfig.c318 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/libctf/common/
H A Dctf_convert.c115 ctf_elfconvert(ctf_convert_t *cch, int fd, Elf *elf, int *errp, char *errbuf, in ctf_elfconvert() argument
135 switch (ctf_has_c_source(elf, errbuf, errlen)) { in ctf_elfconvert()
154 err = ctf_converters[i](cch, fd, elf, &fp, errbuf, errlen); in ctf_elfconvert()
315 char *errbuf, size_t errlen) in ctf_fdconvert() argument
330 fp = ctf_elfconvert(cch, fd, elf, errp, errbuf, errlen); in ctf_fdconvert()

123