/freebsd/tools/regression/geom_gpt/ |
H A D | gctl_test.t | 173 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 D | gss-serv-krb5.c | 89 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 D | main.c | 141 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 D | re.c | 32 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 D | buf.c | 59 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 D | io.c | 42 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 D | glbl.c | 47 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 D | pkits-test.pl | 778 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 D | automount.c | 104 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 D | mount_fs.c | 71 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 D | mksnap_ffs.c | 94 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 D | tst.procpriv.ksh | 43 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 D | checking.cc | 58 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 D | mount_nullfs.c | 66 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 D | ypclnt_error.c | 46 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 D | nmctx.c | 46 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 D | mount_unionfs.c | 120 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 D | dtest.pl | 91 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 D | zcp.c | 1133 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 D | h_cwd.c | 58 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 D | net.c | 486 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 D | netmap_user.h | 637 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 D | archive_check_magic.c | 50 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 D | parse.c | 286 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 D | cd8.0 | 11 errmsg=`cd "$1" 2>&1 >&3 3>&-` 13 case $errmsg in 17 printf "Wrong error message for %s: %s\n" "$1" "$errmsg"
|