/illumos-gate/usr/src/cmd/dumpadm/ |
H A D | main.c | 85 warn(gettext("illegal argument -- %s\n"), argv[optind]); in main() 133 warn(gettext("-i and -r cannot be " in main() 152 warn(gettext("%s is missing or not a " in main() 206 warn(gettext("kernel settings updated, but " in main() 217 warn(gettext("failed to update settings: %s is " in main() 231 warn(gettext("failed to close configuration file")); in main()
|
/illumos-gate/usr/src/cmd/devinfo/ |
H A D | devinfo.c | 65 static int warn(char *what, char *why); 110 (void) warn(device, in main() 113 (void) warn(device, in main() 217 return (warn(name, strerror(errno))); in readvtoc() 219 return (warn(name, "I/O error accessing VTOC")); in readvtoc() 221 return (warn(name, "Invalid field in VTOC")); in readvtoc() 234 warn(char *what, char *why) in warn() function
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/ |
H A D | passprompt.c | 47 warn("Can't make a pipe for %s", promptprog); in promptpass() 51 warn("Can't fork to run %s", promptprog); in promptpass() 107 warn("error waiting for %s: %m", promptprog); in promptpass() 117 warn("%s terminated abnormally", promptprog); in promptpass() 119 warn("%s exited with code %d", promptprog, WEXITSTATUS(wstat)); in promptpass()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | if_mpadm.c | 47 static void warn(const char *, ...); 167 warn("IFF_OFFLINE vanished on %s\n", ifaddrp->ia_name); in do_offline() 171 warn("cannot bring down address on %s", in do_offline() 195 warn("IFF_OFFLINE vanished on %s\n", ifaddrp->ia_name); in undo_offline() 198 warn("cannot bring up address on %s", ifaddrp->ia_name); in undo_offline() 215 warn("in.mpathd has not cleared IFF_OFFLINE on %s\n", ifname); in undo_offline() 255 warn(const char *format, ...) in warn() function
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | sys-solaris.c | 1249 warn("unable to get TTY window " 1324 warn("tcsetattr: %m"); 1750 warn("read_packet: ctl.len %d < " 2013 warn("Couldn't set transmit FCS: %m"); 2041 warn("Couldn't set receive FCS: %m"); 2063 warn("Error in %s ioctl: %m", 2322 warn("sifup called in wrong state"); 2924 warn("have_route_to: putmsg: %m"); 2936 warn("have_route_to: getmsg: %m"); 3031 warn("Couldn't unlock pty slave: %m"); [all …]
|
/illumos-gate/usr/src/cmd/consadm/ |
H A D | consadm.c | 724 warn(gettext( in fallbackdaemon() 752 warn(gettext( in fallbackdaemon() 784 warn(gettext("cannot poll device")); in fallbackdaemon() 801 warn(gettext( in fallbackdaemon() 816 warn(gettext("poll error\n")); in fallbackdaemon() 819 warn(gettext( in fallbackdaemon() 870 warn(gettext("specify device(s)\n")); in verifyarg() 885 warn(gettext("invalid device %s\n"), dev); in verifyarg() 891 warn(gettext("invalid device %s\n"), dev); in verifyarg() 899 warn(gettext("invalid device %s\n"), dev); in verifyarg() [all …]
|
/illumos-gate/usr/src/test/os-tests/tests/portfs/ |
H A D | file_assoc.c | 112 warn("failed to stat %s", fa_path); in fa_run_test() 135 warn("failed to associate event"); in fa_run_test() 142 warn("failed to dissociate event"); in fa_run_test() 148 warn("failed to stat %s", fa_path); in fa_run_test() 155 warn("failed to write data to %s", fa_path); in fa_run_test() 172 warn("port_getn failed unexpectedly"); in fa_run_test()
|
/illumos-gate/usr/src/tools/ctf/ctfstrip/ |
H A D | ctfstrip.c | 76 warn("Unable to open %s", filename); in check_file() 81 warn("stat(2) failed on %s", filename); in check_file() 99 warn("Error reading %s", filename); in check_file() 124 warn("failed to make %s writable", filename); in fix_file() 144 warn("could not reset permissions of %s", filename); in fix_file()
|
/illumos-gate/usr/src/test/os-tests/tests/xsave/ |
H A D | xsave_baducontext.ksh | 36 warn() function 53 warn "failed to get test information for case $caseno" 58 warn "failed to set test information" 101 warn "failed to get entry count for $prog"
|
/illumos-gate/usr/src/test/os-tests/tests/minttl/ |
H A D | minttl.c | 398 warn("TEST FAILED: %s: failed to bind listen socket", in ttl_bind_dest() 428 warn("TEST FAILED: %s: failed to listen", test->tt_desc); in ttl_connect() 433 warn("TEST FAILED: %s: failed to connect", test->tt_desc); in ttl_connect() 448 warn("TEST FAILED: %s: timed out waiting to connect", in ttl_connect() 469 warn("TEST FAILED: %s: timed out waiting to accept", in ttl_connect() 482 warn("TEST FAILED: %s: failed to get client connection", in ttl_connect() 561 warn("TEST FAILED: %s: failed to write message to socket", in ttl_sendrecv() 576 warn("TEST FAILED: %s: timed out waiting to recv", in ttl_sendrecv() 643 warn("TEST FAILED: %s: failed to create source socket", in ttl_test_one() 677 warn("TEST FAILED: %s: failed to set TTL/HLIM to %d", in ttl_test_one() [all …]
|
/illumos-gate/usr/src/cmd/rcap/common/ |
H A D | utils.c | 112 warn(const char *format, ...) in warn() function 254 warn(gettext("illegal argument -- %s\n"), p); in xatoi() 277 warn(gettext("could not get zoneid list\n")); in get_running_zones() 286 warn(gettext("out of memory: zones will not be capped\n")); in get_running_zones() 293 warn(gettext("could not get zone list\n")); in get_running_zones() 305 warn(gettext("out of memory: zones will not be capped\n")); in get_running_zones() 315 warn(gettext("could not get name for " in get_running_zones()
|
/illumos-gate/usr/src/test/util-tests/tests/pcidb/ |
H A D | pcidbtest.ksh | 25 warn() function 40 warn "invalid filter $filt erroneously worked" 52 warn "should have failed with args "$@", but passed" 68 warn "failed to run pcidb with args: $@" 74 warn "output mismatch with args: $@\n found: $output\n" \
|
/illumos-gate/usr/src/test/util-tests/tests/sleep/ |
H A D | sleeptest.ksh | 52 warn() function 67 warn "$test" 82 warn "$test" 94 warn "$test"
|
/illumos-gate/usr/src/cmd/dis/ |
H A D | dis_target.c | 301 warn("%s: gelf_getsym returned NULL for %d", in construct_symtab() 317 warn("%s: bad SHNX_XINDEX %d", in construct_symtab() 370 warn("%s: failed to lookup symbol %d name", in construct_symtab() 468 warn("%s: malformed archive", file); in dis_tgt_create() 485 warn("%s[%s]: invalid file type", in dis_tgt_create() 492 warn("%s: invalid file type", file); in dis_tgt_create() 547 warn("%s: empty archive\n", file); in dis_tgt_create() 779 warn("%s: failed to get section %d header", in dis_tgt_section_iter() 786 warn("%s: failed to get section %d name", in dis_tgt_section_iter() 906 warn("%s: failed to read section %d", in dis_tgt_function_iter() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_module.c | 130 warn("%s\n", dlerror()); in mdb_module_create() 168 warn("%s module failed to initialize\n", name); in mdb_module_create() 207 warn("%s module is compiled for obsolete mdb API " in mdb_module_create() 247 warn("dcmd name '%s' contains illegal characters\n", in mdb_module_create() 253 warn("dcmd '%s' must have a description\n", in mdb_module_create() 259 warn("dcmd '%s' has a NULL function pointer\n", in mdb_module_create() 267 warn("walk name '%s' contains illegal characters\n", in mdb_module_create() 273 warn("walk '%s' must have a description\n", in mdb_module_create() 279 warn("walk '%s' has a NULL walk_step function\n", in mdb_module_create() 294 warn("failed to load dcmd %s`%s", name, dcp->dc_name); in mdb_module_create() [all …]
|
H A D | mdb_main.c | 539 warn("-e already specified\n"); in main() 565 warn("expected integer following -s\n"); in main() 642 warn("illegal option -- %s\n", arg); in main() 646 warn("option requires an argument -- " in main() 667 warn("macro path cannot contain semicolons\n"); in main() 680 warn("neither -f, -k, -p, -u, nor -I " in main() 1043 warn("Using proto area %s\n", mdb.m_root); in main() 1066 warn("failed to set RT parameters"); in main() 1070 warn("failed to get RT class id"); in main() 1075 warn("failed to lock address space"); in main() [all …]
|
H A D | mdb_argvec.c | 66 warn("failed to grow argument vector"); in mdb_argvec_append() 118 warn("failed to grow argument vector"); in mdb_argvec_copy() 166 warn("invalid option for -%c: \"%s\"\n", opt->opt_char, error); in argvec_process_subopt() 199 warn("string argument required for -%c\n", in argvec_process_opt() 227 warn("string argument required for -%c\n", in argvec_process_opt() 234 warn("internal: bad opt=%p type=%hx\n", in argvec_process_opt() 288 warn("illegal option -- %c\n", *p); in argvec_getopts() 318 warn("option requires an " in argvec_getopts()
|
H A D | mdb_gelf.c | 79 warn("section name for %s:[%u] is corrupt: %u\n", in gelf_sect_init() 149 warn("failed to seek to start of %s:%s", in mdb_gelf_sect_load() 615 warn("failed to seek %s", IOP_NAME(io)); in gelf32_init() 674 warn("failed to seek %s", IOP_NAME(io)); in gelf64_init() 735 warn("%s is not an ELF file\n", IOP_NAME(io)); in mdb_gelf_check() 790 warn("failed to seek %s", IOP_NAME(io)); in mdb_gelf_create() 804 warn("%s is an unsupported ELF class: %u\n", in mdb_gelf_create() 943 warn("%s sh_entsize %llu != sizeof (Elf32_Sym); " in gelf32_symtab_init() 962 warn("ignoring %s symbol [%u]: invalid name\n", in gelf32_symtab_init() 1040 warn("%s sh_entsize %llu != sizeof (Elf64_Sym); " in gelf64_symtab_init() [all …]
|
/illumos-gate/usr/src/cmd/newtask/ |
H A D | newtask.c | 184 warn("%s\n", global_error); in main() 358 warn(gettext("failed to grab for process %s: %s\n"), in update_running_proc() 364 warn(gettext("cannot control process %s\n"), procname); in update_running_proc() 406 warn("%s\n", global_error); in update_running_proc() 417 warn(gettext("unable to get project name " in update_running_proc() 429 warn(gettext("unknown project \"%s\"\n"), projname); in update_running_proc() 440 warn("%s\n", global_error); in update_running_proc() 449 warn(gettext("failed to grab for process %s: %s\n"), in update_running_proc() 470 warn(gettext("can't get process credentials %s\n"), in update_running_proc() 479 warn(gettext("process consistently changed its " in update_running_proc() [all …]
|
/illumos-gate/usr/src/cmd/newgrp/ |
H A D | newgrp.c | 74 static void warn(char *s); 187 warn(NS); in main() 192 warn(char *s) in warn() function 200 warn(s); in error() 240 warn(UG); 266 warn(NG);
|
/illumos-gate/usr/src/cmd/acctadm/ |
H A D | aconf.c | 132 warn(gettext("no accounting type for %s\n"), fmri); in aconf_setup() 146 warn(gettext("%s accounting cannot be configured in " in aconf_setup() 152 warn(gettext("cannot connect to repository\n")); in aconf_setup() 157 warn(gettext("cannot get %s property\n"), AC_PROP_TRACKED); in aconf_setup() 163 warn(gettext("cannot get %s property\n"), AC_PROP_UNTRACKED); in aconf_setup() 169 warn(gettext("cannot get %s property\n"), AC_PROP_FILE); in aconf_setup() 174 warn(gettext("cannot get %s property\n"), AC_PROP_STATE); in aconf_setup() 181 warn(gettext("not enough memory\n")); in aconf_setup() 191 warn(gettext("cannot enable/disable %s accounting resources"), in aconf_setup() 202 warn(gettext("cannot close %s accounting file"), in aconf_setup() [all …]
|
H A D | utils.c | 52 warn(const char *format, ...) in warn() function 137 warn(gettext("%s is not an absolute pathname\n"), file); in open_exacct_file() 141 warn(gettext("%s is not a %s accounting file\n"), file, in open_exacct_file() 146 warn(gettext("seteuid()/setegid() failed")); in open_exacct_file() 179 warn(gettext("cannot open %s accounting file %s: %s\n"), in open_exacct_file()
|
/illumos-gate/usr/src/cmd/oamuser/lib/ |
H A D | vgroup.c | 53 int r, warn; in valid_group() local 83 if (valid_gname(group, &grp, &warn) == NOTUNIQUE) { in valid_group() 85 *warning = warn; in valid_group()
|
/illumos-gate/usr/src/tools/findunref/ |
H A D | findunref.c | 91 static void warn(const char *, ...); 229 warn("cannot load hg manifest at %s", hgroot); in hg_manifest() 271 warn("cannot load git manifest at %s", gitroot); in git_manifest() 321 warn("no metadata directory " in chdir_scmdata() 416 warn("cannot open exception file \"%s\"", exceptfile); in make_exset() 485 warn("cannot read \"%s\"", path); in checkpath() 489 warn("cannot stat \"%s\"", path); in checkpath() 567 warn(const char *format, ...) in warn() function
|
/illumos-gate/usr/src/cmd/mdb/common/libstand/ |
H A D | getopt.c | 35 extern void warn(const char *, ...); 65 warn("%s: illegal option -- %c\n", argv[0], c); in getopt() 78 warn("%s: option requires an argument" in getopt()
|