Home
last modified time | relevance | path

Searched refs:warn (Results 26 – 50 of 310) sorted by relevance

12345678910>>...13

/illumos-gate/usr/src/cmd/dumpadm/
H A Dmain.c85 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 Ddevinfo.c65 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 Dpassprompt.c47 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 Dif_mpadm.c47 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 Dsys-solaris.c1249 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 Dconsadm.c724 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 Dfile_assoc.c112 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 Dctfstrip.c76 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 Dxsave_baducontext.ksh36 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 Dminttl.c398 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 Dutils.c112 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 Dpcidbtest.ksh25 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 Dsleeptest.ksh52 warn() function
67 warn "$test"
82 warn "$test"
94 warn "$test"
/illumos-gate/usr/src/cmd/dis/
H A Ddis_target.c301 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 Dmdb_module.c130 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 Dmdb_main.c539 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 Dmdb_argvec.c66 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 Dmdb_gelf.c79 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 Dnewtask.c184 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 Dnewgrp.c74 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 Daconf.c132 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 Dutils.c52 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 Dvgroup.c53 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 Dfindunref.c91 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 Dgetopt.c35 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()

12345678910>>...13