Home
last modified time | relevance | path

Searched refs:errx (Results 1 – 25 of 337) sorted by relevance

12345678910>>...14

/mirbsd/src/bin/dd/
Dargs.c107 errx(1, "out of memory"); in jcl()
109 errx(1, "unknown operand %s", oper); in jcl()
112 errx(1, "no value specified for %s", oper); in jcl()
117 errx(1, "unknown operand %s", tmp.name); in jcl()
119 errx(1, "%s: illegal argument combination or already set", in jcl()
147 errx(1, "record operations require cbs"); in jcl()
149 errx(1, "cbs cannot be zero"); in jcl()
161 errx(1, "cbs meaningless if not doing record operations"); in jcl()
163 errx(1, "cbs cannot be zero"); in jcl()
168 errx(1, "buffer sizes cannot be zero"); in jcl()
[all …]
/mirbsd/src/usr.bin/sudo/
Dalloc.c81 errx(1, "internal error, tried to emalloc(0)");
84 errx(1, "unable to allocate memory");
100 errx(1, "internal error, tried to emalloc2(0)");
102 errx(1, "internal error, emalloc2() overflow");
106 errx(1, "unable to allocate memory");
122 errx(1, "internal error, tried to erealloc(0)");
126 errx(1, "unable to allocate memory");
144 errx(1, "internal error, tried to erealloc3(0)");
146 errx(1, "internal error, erealloc3() overflow");
151 errx(1, "unable to allocate memory");
[all …]
/mirbsd/src/usr.bin/jot/
Djot.c105 errx(1, "-b word too long"); in main()
110 errx(1, "-w word too long"); in main()
115 errx(1, "-s word too long"); in main()
120 errx(1, "bad precision value"); in main()
132 errx(1, "Bad s value: %s", argv[3]); in main()
158 errx(1, "Bad reps value: %s", argv[0]); in main()
168 errx(1, "Too many arguments. What do you mean by %s?", in main()
211 errx(1, "Impossible stepsize"); in main()
230 errx(1, "Must specify begin if reps == 0"); in main()
247 errx(1, "Infinite sequences cannot be bounded"); in main()
[all …]
/mirbsd/src/sbin/tunefs/
Dtunefs.c116 errx(10, "%s: not a block or character device", special); in main()
134 errx(10, "-a: missing %s", name); in main()
138 errx(10, "%s must be >= 1 (was %s)", in main()
150 errx(10, "-d: missing %s", name); in main()
163 errx(10, "-e: missing %s", name); in main()
167 errx(10, "%s must be >= 1 (was %s)", in main()
178 errx(10, "-f: missing %s", name); in main()
182 errx(10, "%s must be >= 0 (was %s)", in main()
193 errx(10, "-m: missing %s", name); in main()
197 errx(10, "bad %s (%s)", name, *argv); in main()
[all …]
/mirbsd/src/usr.bin/nc/
Dsocks.c78 errx(1, "getaddrinfo(\"%.64s\", \"%.64s\"): %s", h, p, in decode_addrport()
85 errx(1, "internal error: addrlen < res->ai_addrlen"); in decode_addrport()
99 errx(1, "proxy read too long"); in proxy_read_line()
140 errx(1, "unknown port \"%.64s\"", port); in socks_connect()
161 errx(1, "authentication method negotiation failed"); in socks_connect()
170 errx(1, "host name too long for SOCKS5"); in socks_connect()
202 errx(1, "internal error: silly AF"); in socks_connect()
213 errx(1, "connection failed, SOCKS error %u", buf[1]); in socks_connect()
235 errx(1, "connection failed, SOCKS error %u", buf[1]); in socks_connect()
241 errx(1, "Invalid hostname"); in socks_connect()
[all …]
Dnetcat.c149 errx(1, "unsupported proxy protocol"); in main()
160 errx(1, "interval cannot be negative"); in main()
195 errx(1, "timeout cannot be negative"); in main()
197 errx(1, "timeout too large"); in main()
227 errx(1, "cannot use -u and -U"); in main()
242 errx(1, "cannot use -s and -l"); in main()
244 errx(1, "cannot use -p and -l"); in main()
246 errx(1, "cannot use -z and -l"); in main()
248 errx(1, "must use -l with -k"); in main()
250 errx(1, "cannot use -I with -vxz"); in main()
[all …]
/mirbsd/src/usr.bin/sdiff/
Dsdiff.c242 errx(2, "width is %s: %s", errstr, optarg); in main()
291 errx(2, "width is too large: %zu", width); in main()
608 errx(2, "file1 start is %s: %s", errstr, line); in parsecmd()
621 errx(2, "file1 end is %s: %s", errstr, line); in parsecmd()
623 errx(2, "invalid line range in file1: %s", line); in parsecmd()
631 errx(2, "ed command not recognized: %c: %s", cmd, line); in parsecmd()
641 errx(2, "file2 start is %s: %s", errstr, line); in parsecmd()
648 errx(2, "invalid line range in file2: %c: %s", c, line); in parsecmd()
654 errx(2, "file2 end is %s: %s", errstr, line); in parsecmd()
656 errx(2, "invalid line range in file2: %s", line); in parsecmd()
[all …]
/mirbsd/src/usr.sbin/config/
Dexec_ecoff.c97 errx(1, "can't read ecoff header"); in ecoff_loadkernel()
100 errx(1, "bad ecoff magic"); in ecoff_loadkernel()
111 errx(1, "can't read ecoff text and data"); in ecoff_loadkernel()
117 errx(1, "can't read begining of file %s", file); in ecoff_loadkernel()
125 errx(1, "can't read rest of file %s", file); in ecoff_loadkernel()
139 errx(1, "can't write beginning of file %s",outfile); in ecoff_savekernel()
142 errx(1, "can't write ecoff text and data"); in ecoff_savekernel()
145 errx(1, "can't write rest of file %s", outfile); in ecoff_savekernel()
Dexec_aout.c132 errx(1, "can't read a.out header"); in aout_loadkernel()
135 errx(1, "bad a.out magic"); in aout_loadkernel()
145 errx(1, "can't read a.out text and data"); in aout_loadkernel()
156 errx(1, "can't read rest of file %s", file); in aout_loadkernel()
170 errx(1, "can't write a.out text and data"); in aout_savekernel()
173 errx(1, "can't write rest of file %s", outfile); in aout_savekernel()
/mirbsd/src/sbin/dmesg/
Ddmesg.c102 errx(1, "couldn't allocate space for buffer data"); in main()
123 errx(1, "kvm_nlist: %s", kvm_geterr(kd)); in main()
125 errx(1, "%s: msgbufp not found", in main()
128 errx(1, "kvm_read: %s: (0x%lx)", kvm_geterr(kd), in main()
131 errx(1, "kvm_read: %s (%0lx)", kvm_geterr(kd), in main()
134 errx(1, "magic number incorrect"); in main()
137 errx(1, "couldn't allocate space for buffer data"); in main()
140 errx(1, "kvm_read: %s", kvm_geterr(kd)); in main()
/mirbsd/src/sbin/newfs_msdos/
Dnewfs_msdos.c278 errx(1, "%s: bad FAT type", optarg); in main()
287 errx(1, "%s: bad volume label", optarg); in main()
292 errx(1, "%s: bad OEM string", optarg); in main()
401 errx(1, "bytes/sector (%u) is not a power of 2", bpb.bps); in main()
403 errx(1, "bytes/sector (%u) is too small; minimum is %u", in main()
412 errx(1, "-%c is not a legal FAT%s option", in main()
419 errx(1, "block size (%u) is not a power of 2", opt_b); in main()
421 errx(1, "block size (%u) is too small; minimum is %u", in main()
424 errx(1, "block size (%u) is too large; maximum is %u", in main()
430 errx(1, "sectors/cluster (%u) is not a power of 2", opt_c); in main()
[all …]
/mirbsd/src/usr.sbin/syslogd/
Dprivsep.c118 errx(1, "unknown user _syslogd"); in priv_init()
178 errx(1, "config_file truncation"); in priv_init()
306 errx(1, "rejected attempt to gethostbyaddr"); in priv_init()
324 errx(1, "unknown command %d", cmd); in priv_init()
418 errx(1, "attempt to decrease or match current state"); in increase_state()
420 errx(1, "attempt to switch to invalid state"); in increase_state()
433 errx(1, "%s: called from privileged portion", "priv_open_tty"); in priv_open_tty()
456 errx(1, "%s: called from privileged child", "priv_open_log"); in priv_open_log()
478 errx(1, "%s: called from privileged portion", "priv_open_utmp"); in priv_open_utmp()
504 errx(1, "%s: called from privileged portion", "priv_open_config"); in priv_open_config()
[all …]
/mirbsd/src/usr.bin/join/
Djoin.c130 errx(1, "-1 option field number less than 1"); in main()
132 errx(1, "illegal field number -- %s", optarg); in main()
137 errx(1, "-2 option field number less than 1"); in main()
139 errx(1, "illegal field number -- %s", optarg); in main()
152 errx(1, "-a option file number not 1 or 2"); in main()
156 errx(1, "illegal file number -- %s", optarg); in main()
163 errx(1, "-j option field number less than 1"); in main()
165 errx(1, "illegal field number -- %s", optarg); in main()
175 errx(1, "illegal tab character specification"); in main()
188 errx(1, "-v option file number not 1 or 2"); in main()
[all …]
/mirbsd/src/usr.bin/xinstall/
Dxinstall.c159 errx(EX_USAGE, "%s: invalid flag", flags); in main()
168 errx(EX_USAGE, "%s: invalid file mode", optarg); in main()
209 errx(EX_NOUSER, "unknown group %s", group); in main()
212 errx(EX_NOUSER, "unknown user %s", owner); in main()
233 errx(EX_OSERR, "Target: %s", argv[argc-1]); in main()
239 errx(EX_OSERR, "%s: %s", to_name, strerror(EFTYPE)); in main()
242 errx(EX_USAGE, "%s and %s are the same file", *argv, to_name); in main()
269 errx(EX_OSERR, "%s: %s", from_name, strerror(EFTYPE)); in install()
309 errx(EX_OSERR, "%s: %s", from_name, strerror(serrno)); in install()
357 errx(EX_OSERR, "%s: %s", tempfile, strerror(serrno)); in install()
[all …]
/mirbsd/src/sbin/mount_nfs/
Dmount_nfs.c194 errx(1, "-2 and -3 are mutually exclusive"); in main()
199 errx(1, "-2 and -3 are mutually exclusive"); in main()
206 errx(1, "illegal -a value -- %s", optarg); in main()
226 errx(1, "illegal -g value -- %s", optarg); in main()
235 errx(1, "illegal -I value -- %s", optarg); in main()
267 errx(1, in main()
273 errx(1, in main()
331 errx(1, "illegal -R value -- %s", optarg); in main()
337 errx(1, "illegal -r value -- %s", optarg); in main()
351 errx(1, "illegal -t value -- %s", optarg); in main()
[all …]
/mirbsd/src/usr.bin/tput/
Dtput.c109 errx(2, "No value for $TERM and no -T specified"); in main()
116 errx(3, "Unknown terminal type `%s'", term); in main()
133 errx(1, "premature EOF"); in main()
141 errx(1, "out of memory"); in main()
145 errx(1, "out of memory"); in main()
242 errx(2, "too many arguments (%d) for capability `%s'", in process()
249 errx(2, "not enough arguments (%d) for capability `%s'", in process()
313 errx(1, "premature EOF reading %s", init_file); in init()
339 errx(1, "premature EOF reading %s", reset_file); in reset()
/mirbsd/src/usr.bin/xargs/
Dxargs.c112 errx(1, "sysconf(_SC_ARG_MAX) failed"); in main()
141 errx(1, "illegal argument count"); in main()
148 errx(1, "max. processes must be >0"); in main()
159 errx(1, "replacements must be a number"); in main()
189 errx(1, "replstr may not be empty"); in main()
238 errx(1, "insufficient space for command"); in main()
280 errx(1, "unterminated quote"); in parse_input()
314 errx(1, "realloc failed"); in parse_input()
332 errx(1, "insufficient space for arguments"); in parse_input()
366 errx(1, "backslash at EOF"); in parse_input()
[all …]
/mirbsd/src/sbin/wsconsctl/
Dutil.c163 errx(1, "%s: illegal variable name", name); in field_by_name()
169 errx(1, "%s: not found", name); in field_by_name()
179 errx(1, "internal error: field_by_value: not found"); in field_by_value()
270 errx(1, "internal error: pr_field: no format %d", f->format); in pr_field()
289 errx(1, "%s: not a number", val); in rd_field()
297 errx(1, "%s: not a number", val); in rd_field()
306 errx(1, "%s: invalid value (on/off)", val); in rd_field()
312 errx(1, "%s: not a valid number", val); in rd_field()
334 errx(1, "%s: not a valid encoding", val); in rd_field()
344 errx(1, "%s: not a valid variant", val); in rd_field()
[all …]
/mirbsd/src/usr.bin/find/
Doperator.c94 errx(1, "(: missing closing ')'"); in yankexpr()
104 errx(1, "(): empty inner expression"); in yankexpr()
145 errx(1, "): no beginning '('"); in paren_squish()
195 errx(1, "!: no following expression"); in not_squish()
197 errx(1, "!: nothing between ! and -o"); in not_squish()
250 errx(1, "-o: no expression before -o"); in or_squish()
254 errx(1, "-o: no expression after -o"); in or_squish()
/mirbsd/src/usr.sbin/wsfontload/
Dwsfontload.c119 errx(1, "invalid font width of %d", in main()
124 errx(1, "invalid font height of %d", in main()
136 errx(1, "invalid font number %d", slot); in main()
216 errx(1, "invalid font size"); in main()
220 errx(1, "malloc"); in main()
225 errx(4, "short read on %s", argv[0]); in main()
246 errx(1, "invalid encoding"); in getencoding()
/mirbsd/src/sys/arch/i386/stand/installboot/
Dinstallboot.c294 errx(1, "proto bootblocks too big"); in main()
300 errx(1, "%s: Not a character device", realdev); in main()
336 errx(1, "broken MBR"); in main()
366 errx(1, "no BSD partition"); in main()
454 errx(1, "%s: bad magic: 0x%02x%02x%02x%02x", in loadprotoblocks()
468 errx(1, "%s: only supports one ELF load section", boot); in loadprotoblocks()
473 errx(1, "%s: unable to allocate program header space", in loadprotoblocks()
479 errx(1, "%s: unable to read program header space", boot); in loadprotoblocks()
578 errx(1, "%s: must be on an FFS filesystem", boot); in loadblocknums()
583 errx(1, "read: %s", boot); in loadblocknums()
[all …]
/mirbsd/src/usr.bin/sort/
Dinit.c122 errx(2, "field numbers must be positive"); in setcolumn()
125 errx(2, "cannot indent end of line"); in setcolumn()
132 errx(2, "illegal offset"); in setcolumn()
155 errx(2, "illegal field descriptor"); in setfield()
183 errx(2, "fields out of order"); in setfield()
227 errx(2, "invalid field number"); in fixit()
233 errx(2, "invalid field number"); in fixit()
242 errx(2, "bad field specification"); in fixit()
251 errx(2, "invalid field number"); in fixit()
258 errx(2, "invalid field number"); in fixit()
[all …]
/mirbsd/src/usr.sbin/vnconfig/
Dvnconfig.c123 errx(1, "getpass"); in main()
150 errx(1, "keys not identical"); in main()
305 errx(2, "cannot create ASN.1 octet string: %s", in make_key()
308 errx(2, "unknown cipher '%s': %s", algo, in make_key()
325 errx(2, "cannot set ASN.1 octet string: %s", in make_key()
331 errx(2, "cannot encode svnd keyfile: %s", in make_key()
349 errx(2, "cannot decode svnd keyfile"); in extract_key()
356 errx(2, "svnd keyfile too small: %d", *klen); in extract_key()
368 errx(2, "cannot get ASN.1 string"); in extract_key()
/mirbsd/src/sbin/mknod/
Dmknod.c75 errx(1, "invalid file mode."); in main()
137 errx(1, "node must be type 'b' or 'c'."); in domknod()
143 errx(1, "non-numeric major number."); in domknod()
148 errx(1, "non-numeric minor number."); in domknod()
153 errx(1, "major or minor number too large"); in domknod()
/mirbsd/src/sbin/fdisk/
Dfdisk.c100 errx(1, "Cylinder argument %s [1..2097151].", in main()
106 errx(1, "Head argument %s [1..256].", errstr); in main()
111 errx(1, "Sector argument %s [1..63].", errstr); in main()
136 errx(1, "Please specify a full geometry with [-chs]."); in main()
144 errx(1, "Can't get disk geometry, please use [-chs] to specify."); in main()

12345678910>>...14