Home
last modified time | relevance | path

Searched refs:errmsg (Results 1 – 25 of 122) sorted by relevance

12345

/freebsd/tools/regression/geom_gpt/
H A Dgctl_test.t173 my $errmsg = "";
177 $errmsg = "\"$st\" (actual) != \"$res\" (expected)\n";
180 ($errmsg eq "" ? "" : "not "),
181 ($errmsg eq "" ? "" : " - $errmsg"));
184 my $errmsg = "";
191 $errmsg = "gpart create failed";
194 $errmsg = "mdconfig -a failed";
197 $errmsg = "dd failed";
202 $errmsg = "mdconfig -d failed";
208 ($errmsg eq "" ? "" : "not "),
[all …]
/freebsd/crypto/openssh/
H A Dgss-serv-krb5.c89 const char *errmsg; in ssh_gssapi_krb5_userok() local
96 errmsg = krb5_get_error_message(krb_context, retval); in ssh_gssapi_krb5_userok()
97 logit("krb5_parse_name(): %.100s", errmsg); in ssh_gssapi_krb5_userok()
98 krb5_free_error_message(krb_context, errmsg); in ssh_gssapi_krb5_userok()
124 const char *errmsg; local
138 errmsg = krb5_get_error_message(krb_context, problem);
139 logit("krb5_cc_new_unique(): %.100s", errmsg);
145 krb5_free_error_message(krb_context, errmsg);
150 errmsg = krb5_get_error_message(krb_context, problem);
151 logit("ssh_krb5_cc_gen(): %.100s", errmsg);
[all …]
/freebsd/bin/ed/
H A Dmain.c141 errmsg = "interrupt"; in main()
155 errmsg = "invalid filename"; in main()
162 fprintf(stderr, "%s\n", errmsg); in main()
173 errmsg = "warning: file modified"; in main()
178 lineno, errmsg); in main()
189 errmsg = "unexpected end-of-file"; in main()
207 errmsg = "warning: file modified"; in main()
211 lineno, errmsg); in main()
219 lineno, errmsg); in main()
221 fprintf(stderr, "%s\n", errmsg); in main()
[all …]
H A Dre.c32 const char *errmsg = ""; variable
47 errmsg = "invalid pattern delimiter"; in get_compiled_pattern()
51 errmsg = "no previous pattern"; in get_compiled_pattern()
60 errmsg = "out of memory"; in get_compiled_pattern()
66 errmsg = error; in get_compiled_pattern()
91 errmsg = "unbalanced brackets ([])"; in extract_pattern()
97 errmsg = "trailing backslash (\\)"; in extract_pattern()
H A Dbuf.c59 errmsg = "cannot seek temp file"; in get_sbuf_line()
67 errmsg = "cannot read temp file"; in get_sbuf_line()
87 errmsg = "out of memory"; in put_sbuf_line()
94 errmsg = "line too long"; in put_sbuf_line()
103 errmsg = "cannot seek temp file"; in put_sbuf_line()
114 errmsg = "cannot write temp file"; in put_sbuf_line()
149 errmsg = "invalid address"; in get_line_node_addr()
203 errmsg = "cannot open temp file"; in open_sbuf()
219 errmsg = "cannot close temp file"; in close_sbuf()
H A Dio.c42 errmsg = "cannot open input file"; in read_file()
47 errmsg = "error reading input file"; in read_file()
51 errmsg = "cannot close input file"; in read_file()
127 errmsg = "cannot read input file"; in get_stream_line()
149 errmsg = "cannot open output file"; in write_file()
154 errmsg = "error writing output file"; in write_file()
158 errmsg = "cannot close output file"; in write_file()
198 errmsg = "cannot write file"; in put_stream_line()
229 errmsg = "unexpected end-of-file"; in get_extended_line()
270 errmsg = "cannot read stdin"; in get_tty_line()
H A Dglbl.c47 errmsg = "invalid pattern delimiter"; in build_active_list()
105 errmsg = "unexpected end-of-file"; in exec_global()
111 errmsg = "no previous command"; in exec_global()
155 errmsg = "out of memory"; in set_active_node()
164 errmsg = "out of memory"; in set_active_node()
/freebsd/crypto/openssl/test/
H A Dpkits-test.pl778 my $errmsg = "";
784 $errmsg .= "Abnormal OpenSSL termination\n";
788 $errmsg .= "Return code:$ret, ";
789 $errmsg .= "expected $exp_ret\n";
795 print $errmsg;
815 my $errmsg = "";
827 $errmsg .= "Abnormal OpenSSL termination\n";
866 $errmsg .= "Explicit policy:$epol, ";
867 $errmsg .= "expected $exp_epol\n";
871 $errmsg .= "Authority policy set :$aset, ";
[all …]
/freebsd/usr.sbin/autofs/
H A Dautomount.c104 char errmsg[255]; in mount_autofs() local
111 memset(errmsg, 0, sizeof(errmsg)); in mount_autofs()
120 errmsg, sizeof(errmsg)); in mount_autofs()
133 if (*errmsg != '\0') { in mount_autofs()
135 from, fspath, errmsg); in mount_autofs()
234 char errmsg[255]; in flush_autofs() local
238 memset(errmsg, 0, sizeof(errmsg)); in flush_autofs()
247 errmsg, sizeof(errmsg)); in flush_autofs()
251 if (*errmsg != '\0') { in flush_autofs()
253 fspath, errmsg); in flush_autofs()
/freebsd/sbin/mount/
H A Dmount_fs.c71 char errmsg[255]; in mount_fs() local
75 memset(errmsg, 0, sizeof(errmsg)); in mount_fs()
117 build_iovec(&iov, &iovlen, "errmsg", errmsg, sizeof(errmsg)); in mount_fs()
120 if (*errmsg != '\0') in mount_fs()
121 warn("%s: %s", dev, errmsg); in mount_fs()
/freebsd/sbin/mksnap_ffs/
H A Dmksnap_ffs.c94 char errmsg[255], path[PATH_MAX]; in main() local
167 build_iovec(&iov, &iovlen, "errmsg", errmsg, sizeof(errmsg)); in main()
171 *errmsg = '\0'; in main()
173 errmsg[sizeof(errmsg) - 1] = '\0'; in main()
175 *errmsg != '\0' ? ": " : "", errmsg); in main()
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/privs/
H A Dtst.procpriv.ksh43 BEGIN { errmsg = "can't read field from what"; printf("field: "); \
47 BEGIN { errmsg = ""; trace(what->field); \
51 BEGIN { errmsg = ""; printf("field: "); trace(what->field); printf("\n"); }
54 BEGIN { errmsg = "can't read vname"; printf("vname: "); \
58 BEGIN { errmsg = ""; trace(vname); \
62 BEGIN { errmsg = ""; printf("vname: "); trace(vname); printf("\n"); }
/freebsd/usr.bin/dtc/
H A Dchecking.cc58 string errmsg("Attempts to delete "); in check_node() local
59 errmsg += plural ? "nodes" : "node"; in check_node()
60 errmsg += " that "; in check_node()
61 errmsg += plural ? "were" : "was"; in check_node()
62 errmsg += " not added in merge: "; in check_node()
65 errmsg += d; in check_node()
67 report_error(errmsg.c_str()); in check_node()
147 checker::report_error(const char *errmsg) in report_error() argument
149 fprintf(stderr, "Error: %s, while checking node: ", errmsg); in report_error()
/freebsd/sbin/mount_nullfs/
H A Dmount_nullfs.c66 char errmsg[255]; in main() local
74 errmsg[0] = '\0'; in main()
114 build_iovec(&iov, &iovlen, "errmsg", errmsg, sizeof(errmsg)); in main()
116 if (errmsg[0] != 0) in main()
117 err(1, "%s: %s", mountpoint, errmsg); in main()
/freebsd/lib/libypclnt/
H A Dypclnt_error.c46 char *errmsg; in ypclnt_error() local
55 vasprintf(&errmsg, fmt, ap); in ypclnt_error()
57 asprintf(&ypclnt->error, "%s(): %s", func, errmsg); in ypclnt_error()
58 free(errmsg); in ypclnt_error()
/freebsd/lib/libnetmap/
H A Dnmctx.c46 nmctx_default_error(struct nmctx *ctx, const char *errmsg) in nmctx_default_error() argument
49 fprintf(stderr, "%s\n", errmsg); in nmctx_default_error()
94 char errmsg[MAXERRMSG]; in nmctx_ferror() local
102 rv = vsnprintf(errmsg, MAXERRMSG, fmt, ap); in nmctx_ferror()
107 ctx->error(ctx, errmsg); in nmctx_ferror()
/freebsd/sbin/mount_unionfs/
H A Dmount_unionfs.c120 char source [MAXPATHLEN], target[MAXPATHLEN], errmsg[255]; in main() local
127 memset(errmsg, 0, sizeof(errmsg)); in main()
177 build_iovec(&iov, &iovlen, "errmsg", errmsg, sizeof(errmsg)); in main()
180 err(EX_OSERR, "%s: %s", source, errmsg); in main()
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/scripts/
H A Ddtest.pl91 sub errmsg subroutine
156 errmsg($msg);
271 errmsg("ERROR: $file is not a valid test file name\n");
292 errmsg(
309 errmsg("ERROR: failed to fork to run test $file: $!\n");
349 errmsg("ERROR: timed out waiting for $file\n");
410 errmsg("ERROR: failed to fork to run " .
434 errmsg("ERROR: timed out waiting for $file\n");
604 errmsg("ERROR: failed to fork to run badioctl: $!\n");
636 errmsg("ERROR: failed to fork to run baddof: $!\n");
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzcp.c1133 char errmsg[128]; in zcp_eval() local
1135 errmsg, sizeof (errmsg)); in zcp_eval()
1137 fnvlist_add_string(outnvl, ZCP_RET_ERROR, errmsg); in zcp_eval()
1238 char errmsg[512]; in zcp_args_error() local
1239 size_t len = sizeof (errmsg); in zcp_args_error()
1244 VERIFY3U(len, >, vsnprintf(errmsg, len, fmt, argp)); in zcp_args_error()
1252 msglen = strlen(errmsg); in zcp_args_error()
1272 (void) luaL_error(state, errmsg); in zcp_args_error()
1274 VERIFY3U(len, >, strlcat(errmsg, ": ", len)); in zcp_args_error()
1275 VERIFY3U(len, >, strlcat(errmsg, fname, len)); in zcp_args_error()
[all …]
/freebsd/contrib/netbsd-tests/lib/librumphijack/
H A Dh_cwd.c58 dochdir(const char *path, const char *errmsg) in dochdir() argument
62 err(EXIT_FAILURE, "%s", errmsg); in dochdir()
66 dofchdir(const char *path, const char *errmsg) in dofchdir() argument
72 err(EXIT_FAILURE, "open %s", errmsg); in dofchdir()
74 err(EXIT_FAILURE, "fchdir %s", errmsg); in dofchdir()
/freebsd/contrib/dma/
H A Dnet.c486 snprintf(errmsg, sizeof(errmsg), "can not seek: %s", strerror(errno)); in deliver_to_host()
500 snprintf(errmsg, sizeof(errmsg), "%s [%s] did not like our %s:\n%s", \ in deliver_to_host()
560 snprintf(errmsg, sizeof(errmsg), "SMTP login to %s failed", host->host); in deliver_to_host()
597 snprintf(errmsg, sizeof(errmsg), "corrupted queue file"); in deliver_to_host()
652 snprintf(errmsg, sizeof(errmsg), "Internal error: badly formed address %s", in deliver_remote()
663 snprintf(errmsg, sizeof(errmsg), "DNS lookup failure: host %s not found", host); in deliver_remote()
/freebsd/sys/net/
H A Dnetmap_user.h637 char errmsg[MAXERRMSG] = "", *tmp; in nm_parse() local
648 snprintf(errmsg, MAXERRMSG, in nm_parse()
654 snprintf(errmsg, MAXERRMSG, "invalid bridge name"); in nm_parse()
669 snprintf(errmsg, MAXERRMSG, "invalid bridge port name"); in nm_parse()
675 snprintf(errmsg, MAXERRMSG, "name too long"); in nm_parse()
714 snprintf(errmsg, MAXERRMSG, "unknown modifier: '%c'", *port); in nm_parse()
728 snprintf(errmsg, MAXERRMSG, "unexpected character: '%c'", *port); in nm_parse()
736 snprintf(errmsg, MAXERRMSG, "'%ld' out of range [0, %d)", in nm_parse()
771 snprintf(errmsg, MAXERRMSG, "unrecognized flag: '%c'", *port); in nm_parse()
779 snprintf(errmsg, MAXERRMSG, "double setting of memid"); in nm_parse()
[all …]
/freebsd/contrib/libarchive/libarchive/
H A Darchive_check_magic.c50 errmsg(const char *m)
142 errmsg("PROGRAMMER ERROR: Function "); in __archive_check_magic()
143 errmsg(function); in __archive_check_magic()
144 errmsg(" invoked with invalid archive handle.\n"); in __archive_check_magic()
51 errmsg(const char *m) errmsg() function
/freebsd/usr.sbin/iovctl/
H A Dparse.c286 const char *errmsg, *key; in parse_config_file() local
302 errmsg = ucl_parser_get_error(parser); in parse_config_file()
303 if (errmsg != NULL) in parse_config_file()
304 errx(1, "Could not parse '%s': %s", filename, errmsg); in parse_config_file()
399 const char *errmsg, *key; in find_device() local
412 errmsg = ucl_parser_get_error(parser); in find_device()
413 if (errmsg != NULL) in find_device()
414 errx(1, "Could not parse '%s': %s", filename, errmsg); in find_device()
/freebsd/bin/sh/tests/builtins/
H A Dcd8.011 errmsg=`cd "$1" 2>&1 >&3 3>&-`
13 case $errmsg in
17 printf "Wrong error message for %s: %s\n" "$1" "$errmsg"

12345