Symbol: errstr
bin/ls/ls.c
237
const char *errstr = NULL;
bin/ls/ls.c
250
termwidth = strtonum(p, 0, INT_MAX, &errstr);
bin/ls/ls.c
260
termwidth = strtonum(p, 0, INT_MAX, &errstr);
bin/ls/ls.c
263
if (errstr)
bin/nproc/nproc.c
77
const char *errstr;
bin/nproc/nproc.c
91
ignore = strtonum(optarg, 0, INT_MAX, &errstr);
bin/nproc/nproc.c
92
if (errstr)
bin/nproc/nproc.c
93
errx(1, "bad ignore count: %s", errstr);
bin/stty/stty.c
121
speed = strtonum(*argv, 0, UINT_MAX, &errstr);
bin/stty/stty.c
122
if (errstr)
bin/stty/stty.c
52
const char *file, *errstr = NULL;
crypto/krb5/src/kadmin/server/misc.c
100
errstr = error_message(CHPASS_UTIL_PASSWORD_TOO_SOON);
crypto/krb5/src/kadmin/server/misc.c
102
if (strlen(errstr) + strlen(time_string) < msg_len) {
crypto/krb5/src/kadmin/server/misc.c
105
snprintf(msg_ret, msg_len, errstr, time_string);
crypto/krb5/src/kadmin/server/misc.c
93
const char *errstr;
crypto/krb5/src/lib/krb5/ccache/t_cc.c
198
#define CHECK_BOOL(expr,errstr,msg) \
crypto/krb5/src/lib/krb5/ccache/t_cc.c
200
fprintf(stderr, "%s %s\n", msg, errstr); \
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
1132
const char *errstr = X509_verify_cert_error_string(err);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
1134
return oerr(context, code, _("%s (depth %d): %s"), msg, depth, errstr);
crypto/krb5/src/plugins/tls/k5tls/openssl.c
297
const char *cert = NULL, *errstr, *expected_name;
crypto/krb5/src/plugins/tls/k5tls/openssl.c
322
errstr = X509_verify_cert_error_string(err);
crypto/krb5/src/plugins/tls/k5tls/openssl.c
323
TRACE_TLS_CERT_ERROR(context, depth, count, cert, err, errstr);
crypto/openssh/addr.c
465
const char *errstr;
crypto/openssh/addr.c
474
masklen = (u_int)strtonum(mp, 0, INT_MAX, &errstr);
crypto/openssh/addr.c
475
if (errstr)
crypto/openssh/auth-options.c
260
const char *errstr = "unknown error";
crypto/openssh/auth-options.c
266
if ((opt = opt_dequote(optsp, &errstr)) == NULL) {
crypto/openssh/auth-options.c
329
const char *errstr = "unknown error";
crypto/openssh/auth-options.c
368
errstr = "multiple \"command\" clauses";
crypto/openssh/auth-options.c
371
ret->force_command = opt_dequote(&opts, &errstr);
crypto/openssh/auth-options.c
376
errstr = "multiple \"principals\" clauses";
crypto/openssh/auth-options.c
379
ret->cert_principals = opt_dequote(&opts, &errstr);
crypto/openssh/auth-options.c
384
errstr = "multiple \"from\" clauses";
crypto/openssh/auth-options.c
388
&errstr);
crypto/openssh/auth-options.c
392
if ((opt = opt_dequote(&opts, &errstr)) == NULL)
crypto/openssh/auth-options.c
397
errstr = "invalid expires time";
crypto/openssh/auth-options.c
406
errstr = "too many environment strings";
crypto/openssh/auth-options.c
409
if ((opt = opt_dequote(&opts, &errstr)) == NULL)
crypto/openssh/auth-options.c
414
errstr = "invalid environment string";
crypto/openssh/auth-options.c
426
errstr = "invalid environment string";
crypto/openssh/auth-options.c
454
&ret->npermitopen, &errstr) != 0)
crypto/openssh/auth-options.c
458
&ret->npermitlisten, &errstr) != 0)
crypto/openssh/auth-options.c
461
if ((opt = opt_dequote(&opts, &errstr)) == NULL)
crypto/openssh/auth-options.c
466
errstr = "invalid tun device";
crypto/openssh/auth-options.c
478
errstr = "unknown key option";
crypto/openssh/auth-options.c
483
errstr = "unexpected end-of-options";
crypto/openssh/auth-options.c
494
errstr = "memory allocation failed";
crypto/openssh/auth-options.c
498
*errstrp = errstr;
crypto/openssh/auth-options.c
538
const char *errstr = "internal error";
crypto/openssh/auth-options.c
631
errstr = "forced command options do not match";
crypto/openssh/auth-options.c
649
errstr = "memory allocation failed";
crypto/openssh/auth-options.c
652
*errstrp = errstr;
crypto/openssh/auth-options.h
92
struct sshauthopt *sshauthopt_parse(const char *s, const char **errstr);
crypto/openssh/dh.c
103
n = strtonum(arg, 0, 1<<30, &errstr);
crypto/openssh/dh.c
104
if (errstr != NULL || n == 0) {
crypto/openssh/dh.c
110
(dhg->size = (int)strtonum(strsize, 0, 64*1024, &errstr)) == 0 ||
crypto/openssh/dh.c
111
errstr) {
crypto/openssh/dh.c
65
const char *errstr = NULL;
crypto/openssh/dh.c
85
n = strtonum(arg, 0, 5, &errstr);
crypto/openssh/dh.c
86
if (errstr != NULL || n != MODULI_TYPE_SAFE) {
crypto/openssh/dh.c
94
n = strtonum(arg, 0, 0x1f, &errstr);
crypto/openssh/dh.c
95
if (errstr != NULL ||
crypto/openssh/misc.c
1897
const char *errstr;
crypto/openssh/misc.c
1908
val = (int)strtonum(cp, 0, 255, &errstr);
crypto/openssh/misc.c
1909
if (errstr)
crypto/openssh/misc.c
2399
valid_domain(char *name, int makelower, const char **errstr)
crypto/openssh/misc.c
2434
if (errstr != NULL)
crypto/openssh/misc.c
2435
*errstr = NULL;
crypto/openssh/misc.c
2438
if (errstr != NULL)
crypto/openssh/misc.c
2439
*errstr = errbuf;
crypto/openssh/misc.c
2465
const char *errstr = NULL;
crypto/openssh/misc.c
2469
*val = strtonum(nptr, 0, INT_MAX, &errstr);
crypto/openssh/misc.c
2470
return errstr;
crypto/openssh/misc.c
253
const char *errstr;
crypto/openssh/misc.c
258
rtable = (int)strtonum(name, 0, 255, &errstr);
crypto/openssh/misc.c
259
if (errstr != NULL) {
crypto/openssh/misc.c
261
error("Invalid routing domain \"%s\": %s", name, errstr);
crypto/openssh/misc.c
540
const char *errstr;
crypto/openssh/misc.c
542
port = strtonum(s, 0, 65535, &errstr);
crypto/openssh/misc.c
543
if (errstr == NULL)
crypto/openssh/misc.c
553
const char *errstr = NULL;
crypto/openssh/misc.c
574
tun = strtonum(s, 0, SSH_TUNID_MAX, &errstr);
crypto/openssh/misc.c
575
if (errstr != NULL)
crypto/openssh/misc.c
621
const char *errstr;
crypto/openssh/misc.c
635
secs = (int)strtonum(p, 0, INT_MAX, &errstr);
crypto/openssh/misc.c
636
if (errstr)
crypto/openssh/openbsd-compat/strtonum.c
41
const char *errstr;
crypto/openssh/openbsd-compat/strtonum.c
64
*errstrp = ev[error].errstr;
crypto/openssh/readconf.c
1152
const char *errstr;
crypto/openssh/readconf.c
1584
if ((errstr = atoi_err(arg, &value)) != NULL) {
crypto/openssh/readconf.c
1586
filename, linenum, errstr);
crypto/openssh/readconf.c
2213
if (!valid_domain(arg, 1, &errstr)) {
crypto/openssh/readconf.c
2215
errstr);
crypto/openssh/readconf.c
2431
if ((errstr = atoi_err(arg + 9,
crypto/openssh/readconf.c
2434
filename, linenum, errstr);
crypto/openssh/regress/netcat.c
1103
const char *errstr;
crypto/openssh/regress/netcat.c
1113
hi = strtonum(n, 1, PORT_MAX, &errstr);
crypto/openssh/regress/netcat.c
1114
if (errstr)
crypto/openssh/regress/netcat.c
1115
errx(1, "port number %s: %s", errstr, n);
crypto/openssh/regress/netcat.c
1116
lo = strtonum(p, 1, PORT_MAX, &errstr);
crypto/openssh/regress/netcat.c
1117
if (errstr)
crypto/openssh/regress/netcat.c
1118
errx(1, "port number %s: %s", errstr, p);
crypto/openssh/regress/netcat.c
1148
hi = strtonum(p, 1, PORT_MAX, &errstr);
crypto/openssh/regress/netcat.c
1149
if (errstr)
crypto/openssh/regress/netcat.c
1150
errx(1, "port number %s: %s", errstr, p);
crypto/openssh/regress/netcat.c
158
const char *errstr, *proxyhost = "", *proxyport = NULL;
crypto/openssh/regress/netcat.c
203
iflag = strtonum(optarg, 0, UINT_MAX, &errstr);
crypto/openssh/regress/netcat.c
204
if (errstr)
crypto/openssh/regress/netcat.c
205
errx(1, "interval %s: %s", errstr, optarg);
crypto/openssh/regress/netcat.c
240
RT_TABLEID_MAX, &errstr);
crypto/openssh/regress/netcat.c
241
if (errstr)
crypto/openssh/regress/netcat.c
242
errx(1, "rtable %s: %s", errstr, optarg);
crypto/openssh/regress/netcat.c
249
timeout = strtonum(optarg, 0, INT_MAX / 1000, &errstr);
crypto/openssh/regress/netcat.c
250
if (errstr)
crypto/openssh/regress/netcat.c
251
errx(1, "timeout %s: %s", errstr, optarg);
crypto/openssh/regress/netcat.c
266
Iflag = strtonum(optarg, 1, 65536 << 14, &errstr);
crypto/openssh/regress/netcat.c
267
if (errstr != NULL)
crypto/openssh/regress/netcat.c
269
errstr, optarg);
crypto/openssh/regress/netcat.c
272
Oflag = strtonum(optarg, 1, 65536 << 14, &errstr);
crypto/openssh/regress/netcat.c
273
if (errstr != NULL)
crypto/openssh/regress/netcat.c
275
errstr, optarg);
crypto/openssh/regress/netcat.c
281
errstr = NULL;
crypto/openssh/regress/netcat.c
290
&errstr);
crypto/openssh/regress/netcat.c
291
if (Tflag < 0 || Tflag > 255 || errstr || errno)
crypto/openssh/regress/unittests/authopt/tests.c
138
const char *errstr;
crypto/openssh/regress/unittests/authopt/tests.c
143
opts = sshauthopt_parse(keywords, &errstr); \
crypto/openssh/regress/unittests/authopt/tests.c
145
ASSERT_PTR_NE(errstr, NULL); \
crypto/openssh/regress/unittests/authopt/tests.c
150
if (errstr != NULL) \
crypto/openssh/regress/unittests/authopt/tests.c
151
ASSERT_STRING_EQ(errstr, ""); \
crypto/openssh/regress/unittests/authopt/tests.c
160
opts = sshauthopt_parse("", &errstr);
crypto/openssh/regress/unittests/authopt/tests.c
166
opts = sshauthopt_parse(" ", &errstr);
crypto/openssh/regress/unittests/authopt/tests.c
172
opts = sshauthopt_parse("restrict", &errstr);
crypto/openssh/regress/unittests/authopt/tests.c
187
opts = sshauthopt_parse("tunnel=\"1\"", &errstr);
crypto/openssh/regress/unittests/authopt/tests.c
194
opts = sshauthopt_parse("tunnel=\"any\"", &errstr);
crypto/openssh/regress/unittests/authopt/tests.c
206
opts = sshauthopt_parse(keyword, &errstr); \
crypto/openssh/regress/unittests/authopt/tests.c
210
opts = sshauthopt_parse("restrict,"keyword, &errstr); \
crypto/openssh/regress/unittests/authopt/tests.c
237
opts = sshauthopt_parse(keyword "=" #val, &errstr); \
crypto/openssh/regress/unittests/authopt/tests.c
243
"restrict," keyword "=" #val ",restrict", &errstr); \
crypto/openssh/regress/unittests/authopt/tests.c
262
opts = sshauthopt_parse(keywords, &errstr); \
crypto/openssh/regress/unittests/authopt/tests.c
268
"restrict," keywords ",restrict", &errstr); \
crypto/openssh/regress/unittests/authopt/tests.c
381
const char *errstr;
crypto/openssh/regress/unittests/authopt/tests.c
394
key_opts = sshauthopt_parse(keywords, &errstr); \
crypto/openssh/regress/unittests/authopt/tests.c
395
if (errstr != NULL) \
crypto/openssh/regress/unittests/authopt/tests.c
396
ASSERT_STRING_EQ(errstr, ""); \
crypto/openssh/regress/unittests/authopt/tests.c
399
cert_opts, &errstr); \
crypto/openssh/regress/unittests/authopt/tests.c
415
if (errstr != NULL) \
crypto/openssh/regress/unittests/authopt/tests.c
416
ASSERT_STRING_EQ(errstr, ""); \
crypto/openssh/scp.c
476
const char *errstr;
crypto/openssh/scp.c
564
&errstr);
crypto/openssh/scp.c
565
if (errstr != NULL)
crypto/openssh/scp.c
608
&errstr);
crypto/openssh/scp.c
609
if (errstr != NULL) {
crypto/openssh/scp.c
611
"\"%s\": %s", optarg + 10, errstr);
crypto/openssh/servconf.c
1344
const char *errstr;
crypto/openssh/servconf.c
1697
if ((errstr = atoi_err(arg, &value)) != NULL)
crypto/openssh/servconf.c
1699
filename, linenum, keyword, errstr);
crypto/openssh/servconf.c
2075
if ((errstr = atoi_err(arg, &value)) != NULL)
crypto/openssh/servconf.c
2077
filename, linenum, keyword, errstr);
crypto/openssh/servconf.c
2139
if ((errstr = atoi_err(arg+13, &value)) != NULL)
crypto/openssh/servconf.c
2141
filename, linenum, keyword, errstr);
crypto/openssh/servconf.c
2144
if ((errstr = atoi_err(arg+13, &value)) != NULL)
crypto/openssh/servconf.c
2146
filename, linenum, keyword, errstr);
crypto/openssh/servconf.c
902
const char *errstr;
crypto/openssh/servconf.c
911
num = strtonum(name, 0, 255, &errstr);
crypto/openssh/servconf.c
912
if (errstr != NULL)
crypto/openssh/sftp.c
2445
const char *errstr;
crypto/openssh/sftp.c
2548
&errstr);
crypto/openssh/sftp.c
2549
if (errstr != NULL)
crypto/openssh/sftp.c
2584
&errstr);
crypto/openssh/sftp.c
2585
if (errstr != NULL) {
crypto/openssh/sftp.c
2587
"\"%s\": %s", optarg + 10, errstr);
crypto/openssh/ssh-agent.c
2247
const char *errstr = NULL;
crypto/openssh/ssh-agent.c
2370
pid = (int)strtonum(pidstr, 2, INT_MAX, &errstr);
crypto/openssh/ssh-agent.c
2371
if (errstr) {
crypto/openssh/ssh-agent.c
2374
SSH_AGENTPID_ENV_NAME, pidstr, errstr);
crypto/openssh/ssh-agent.c
2411
pid = (int)strtonum(pidstr, 1, INT_MAX, &errstr);
crypto/openssh/ssh-agent.c
2412
if (errstr != NULL)
crypto/openssh/ssh-agent.c
2413
fatal("invalid LISTEN_PID: %s", errstr);
crypto/openssh/ssh-keygen.c
3003
const char *errstr;
crypto/openssh/ssh-keygen.c
3009
UINT_MAX, &errstr);
crypto/openssh/ssh-keygen.c
3010
if (errstr) {
crypto/openssh/ssh-keygen.c
3012
errstr, opts[i]+7);
crypto/openssh/ssh-keygen.c
3020
INT_MAX, &errstr);
crypto/openssh/ssh-keygen.c
3021
if (errstr) {
crypto/openssh/ssh-keygen.c
3023
opts[i]+12, errstr);
crypto/openssh/ssh-keygen.c
3059
const char *errstr;
crypto/openssh/ssh-keygen.c
3072
opts[i]+10, 1, UINT_MAX, &errstr);
crypto/openssh/ssh-keygen.c
3073
if (errstr != NULL) {
crypto/openssh/ssh-keygen.c
3075
opts[i]+10, errstr);
crypto/openssh/ssh-keygen.c
3079
INT_MAX, &errstr);
crypto/openssh/ssh-keygen.c
3080
if (errstr) {
crypto/openssh/ssh-keygen.c
3082
opts[i]+12, errstr);
crypto/openssh/ssh-keygen.c
3400
const char *errstr;
crypto/openssh/ssh-keygen.c
3438
&errstr);
crypto/openssh/ssh-keygen.c
3439
if (errstr)
crypto/openssh/ssh-keygen.c
3441
optarg, errstr);
crypto/openssh/ssh-keygen.c
3585
rounds = (int)strtonum(optarg, 1, INT_MAX, &errstr);
crypto/openssh/ssh-keygen.c
3586
if (errstr)
crypto/openssh/ssh-keygen.c
3588
optarg, errstr);
crypto/openssh/ssh.c
257
const char *errstr = NULL;
crypto/openssh/ssh.c
283
if (!valid_domain(res->ai_canonname, 0, &errstr)) {
crypto/openssh/ssh.c
285
res->ai_canonname, name, errstr);
crypto/openssh/sshd-session.c
809
const char *errstr;
crypto/openssh/sshd-session.c
820
rtable = (int)strtonum(name, 0, 255, &errstr);
crypto/openssh/sshd-session.c
821
if (errstr != NULL) /* Shouldn't happen */
crypto/openssh/sshd-session.c
822
fatal("Invalid routing domain \"%s\": %s", name, errstr);
crypto/openssh/sshsig.c
646
const char *errstr = NULL;
crypto/openssh/sshsig.c
659
errstr = "multiple \"namespaces\" clauses";
crypto/openssh/sshsig.c
662
ret->namespaces = opt_dequote(&opts, &errstr);
crypto/openssh/sshsig.c
667
errstr = "multiple \"valid-after\" clauses";
crypto/openssh/sshsig.c
670
if ((opt = opt_dequote(&opts, &errstr)) == NULL)
crypto/openssh/sshsig.c
675
errstr = "invalid \"valid-after\" time";
crypto/openssh/sshsig.c
681
errstr = "multiple \"valid-before\" clauses";
crypto/openssh/sshsig.c
684
if ((opt = opt_dequote(&opts, &errstr)) == NULL)
crypto/openssh/sshsig.c
689
errstr = "invalid \"valid-before\" time";
crypto/openssh/sshsig.c
702
errstr = "unknown key option";
crypto/openssh/sshsig.c
707
errstr = "unexpected end-of-options";
crypto/openssh/sshsig.c
714
errstr = "\"valid-before\" time is before \"valid-after\"";
crypto/openssh/sshsig.c
721
*errstrp = errstr;
crypto/openssl/engines/e_capi.c
1122
char errstr[10];
crypto/openssl/engines/e_capi.c
1123
BIO_snprintf(errstr, 10, "%lX", err);
crypto/openssl/engines/e_capi.c
1124
ERR_add_error_data(2, "Error code= 0x", errstr);
crypto/openssl/engines/e_capi.c
970
char errstr[10];
crypto/openssl/engines/e_capi.c
971
BIO_snprintf(errstr, 10, "%d", padding);
crypto/openssl/engines/e_capi.c
973
ERR_add_error_data(2, "padding=", errstr);
crypto/openssl/test/bio_tfo_test.c
189
const char *errstr = strerror(sockerr);
crypto/openssl/test/bio_tfo_test.c
191
if (errstr != NULL)
crypto/openssl/test/bio_tfo_test.c
192
BIO_printf(bio_err, "last errno: %d=%s\n", sockerr, errstr);
crypto/openssl/test/bio_tfo_test.c
399
const char *errstr = strerror(sockerr);
crypto/openssl/test/bio_tfo_test.c
401
if (errstr != NULL)
crypto/openssl/test/bio_tfo_test.c
402
BIO_printf(bio_err, "last errno: %d=%s\n", sockerr, errstr);
kerberos5/lib/libroken/fbsd_ossl_provider_load.c
35
char *errstr;
kerberos5/lib/libroken/fbsd_ossl_provider_load.c
37
if ((errstr = dlerror()) != NULL)
kerberos5/lib/libroken/fbsd_ossl_provider_load.c
39
message, errstr);
lib/geom/multipath/geom_multipath.c
308
const char *name, *comp, *errstr;
lib/geom/multipath/geom_multipath.c
318
errstr = gctl_issue (req);
lib/geom/multipath/geom_multipath.c
319
if (errstr != NULL) {
lib/geom/multipath/geom_multipath.c
321
name, comp, errstr);
lib/geom/part/geom_part.c
1036
errstr = gctl_issue(r);
lib/geom/part/geom_part.c
1037
if (errstr != NULL && errstr[0] != '\0') {
lib/geom/part/geom_part.c
1038
gpart_print_error(errstr);
lib/geom/part/geom_part.c
1064
errstr = gctl_issue(r);
lib/geom/part/geom_part.c
1065
if (errstr != NULL && errstr[0] != '\0') {
lib/geom/part/geom_part.c
1066
gpart_print_error(errstr);
lib/geom/part/geom_part.c
1084
errstr = gctl_issue(r);
lib/geom/part/geom_part.c
1085
if (errstr != NULL && errstr[0] != '\0') {
lib/geom/part/geom_part.c
1086
gpart_print_error(errstr);
lib/geom/part/geom_part.c
1274
gpart_print_error(const char *errstr)
lib/geom/part/geom_part.c
1279
error = strtol(errstr, &errmsg, 0);
lib/geom/part/geom_part.c
1280
if (errmsg != errstr) {
lib/geom/part/geom_part.c
1295
const char *errstr;
lib/geom/part/geom_part.c
1313
errstr = gctl_issue(req);
lib/geom/part/geom_part.c
1314
if (errstr == NULL || errstr[0] == '\0') {
lib/geom/part/geom_part.c
1321
gpart_print_error(errstr);
lib/geom/part/geom_part.c
908
const char *s, *flags, *errstr, *label;
lib/geom/part/geom_part.c
952
errstr = gctl_issue(r);
lib/geom/part/geom_part.c
953
if (errstr != NULL && errstr[0] != '\0') {
lib/geom/part/geom_part.c
954
gpart_print_error(errstr);
lib/geom/part/geom_part.c
996
errstr = gctl_issue(r);
lib/geom/part/geom_part.c
997
if (errstr != NULL && errstr[0] != '\0') {
lib/geom/part/geom_part.c
998
gpart_print_error(errstr);
lib/libc/gen/sig2str.c
71
const char *errstr;
lib/libc/gen/sig2str.c
84
n = strtonum(str + rtend, INT_MIN, INT_MAX, &errstr);
lib/libc/gen/sig2str.c
85
if (n == 0 || errstr != NULL)
lib/libc/gen/sig2str.c
98
n = strtonum(str, 1, SIGRTMAX, &errstr);
lib/libc/gen/sig2str.c
99
if (errstr == NULL) {
lib/libc/gen/syslog.c
142
errstr[64], tz_sign;
lib/libc/gen/syslog.c
245
strerror_r(saved_errno, errstr, sizeof(errstr));
lib/libc/gen/syslog.c
246
fputs(errstr, fmt_fp);
lib/libc/inet/inet_net_pton.c
220
const char *errstr;
lib/libc/inet/inet_net_pton.c
238
bits = strtonum(sep, 0, 128, &errstr);
lib/libc/inet/inet_net_pton.c
239
if (errstr) {
lib/libc/stdlib/strtonum.c
41
const char *errstr;
lib/libc/stdlib/strtonum.c
67
*errstrp = ev[error].errstr;
lib/libc/string/strerror.c
91
errstr(errnum,
lib/libc/tests/resolv/resolv_test.c
100
resolv_getaddrinfo(long threadnum, char *host, int port, const char **errstr)
lib/libc/tests/resolv/resolv_test.c
121
*errstr = gai_strerror(error);
lib/libc/tests/resolv/resolv_test.c
122
DBG("T%ld: host %s not found: %s\n", threadnum, host, *errstr);
lib/libc/tests/resolv/resolv_test.c
128
resolv_gethostby(long threadnum, char *host, const char **errstr)
lib/libc/tests/resolv/resolv_test.c
142
*errstr = hstrerror(h_errno);
lib/libc/tests/resolv/resolv_test.c
143
DBG("T%ld: host %s not found: %s\n", threadnum, host, *errstr);
lib/libc/tests/resolv/resolv_test.c
149
resolv_getipnodeby(long threadnum, char *host, const char **errstr)
lib/libc/tests/resolv/resolv_test.c
167
*errstr = hstrerror(error);
lib/libc/tests/resolv/resolv_test.c
168
DBG("T%ld: host %s not found: %s\n", threadnum, host, *errstr);
lib/libc/tests/resolv/resolv_test.c
176
const char* errstr = NULL;
lib/libc/tests/resolv/resolv_test.c
184
error = resolv_getaddrinfo(threadnum, host, i, &errstr);
lib/libc/tests/resolv/resolv_test.c
187
error = resolv_gethostby(threadnum, host, &errstr);
lib/libc/tests/resolv/resolv_test.c
190
error = resolv_getipnodeby(threadnum, host, &errstr);
lib/libc/tests/resolv/resolv_test.c
205
threadnum, hosts->sl_str[i], error, errstr);
lib/libc/tests/sys/cpuset_test.c
309
const char *errstr;
lib/libc/tests/sys/cpuset_test.c
357
errstr = do_jail_errstr(WEXITSTATUS(status));
lib/libc/tests/sys/cpuset_test.c
358
if (errstr != NULL)
lib/libc/tests/sys/cpuset_test.c
359
atf_tc_fail("%s", errstr);
lib/libc/tests/sys/cpuset_test.c
580
const char *errstr;
lib/libc/tests/sys/cpuset_test.c
597
errstr = do_jail_errstr(fail);
lib/libc/tests/sys/cpuset_test.c
598
if (errstr != NULL)
lib/libc/tests/sys/cpuset_test.c
599
atf_tc_fail("%s", errstr);
lib/libgeom/geom_getxml.c
102
const char *errstr;
lib/libgeom/geom_getxml.c
120
errstr = gctl_issue(r);
lib/libgeom/geom_getxml.c
121
if (errstr != NULL && errstr[0] != '\0') {
lib/libiscsiutil/log.c
122
errstr = strerror(log_errno);
lib/libiscsiutil/log.c
126
peer_addr, peer_name, msgbuf_strvised, errstr);
lib/libiscsiutil/log.c
128
peer_addr, peer_name, msgbuf_strvised, errstr);
lib/libiscsiutil/log.c
131
peer_addr, msgbuf_strvised, errstr);
lib/libiscsiutil/log.c
133
peer_addr, msgbuf_strvised, errstr);
lib/libiscsiutil/log.c
136
msgbuf_strvised, errstr);
lib/libiscsiutil/log.c
138
msgbuf_strvised, errstr);
lib/libiscsiutil/log.c
88
char *errstr;
lib/libkvm/kvm.c
242
const char *errstr)
lib/libkvm/kvm.c
247
if (errstr != NULL)
lib/libkvm/kvm.c
249
errstr, strerror(errno));
lib/libkvm/kvm.c
252
kd->program = errstr;
lib/libpmcstat/libpmcstat_logging.c
430
const char *p, *errstr;
lib/libpmcstat/libpmcstat_logging.c
434
errstr = NULL;
lib/libpmcstat/libpmcstat_logging.c
455
errstr = strerror(EINVAL);
lib/libpmcstat/libpmcstat_logging.c
467
errstr = gai_strerror(error);
lib/libpmcstat/libpmcstat_logging.c
475
errstr = strerror(errno);
lib/libpmcstat/libpmcstat_logging.c
480
errstr = strerror(errno);
lib/libpmcstat/libpmcstat_logging.c
489
errstr = strerror(errno);
lib/libpmcstat/libpmcstat_logging.c
496
errstr = strerror(errno);
lib/libpmcstat/libpmcstat_logging.c
502
errstr = NULL;
lib/libpmcstat/libpmcstat_logging.c
510
errstr = strerror(errno);
lib/libpmcstat/libpmcstat_logging.c
513
if (errstr)
lib/libpmcstat/libpmcstat_logging.c
516
errstr);
lib/libugidfw/ugidfw.c
1009
size_t buflen, char *errstr)
lib/libugidfw/ugidfw.c
1019
snprintf(errstr, buflen, "Rule must begin with subject");
lib/libugidfw/ugidfw.c
1024
snprintf(errstr, buflen, "Rule must begin with subject");
lib/libugidfw/ugidfw.c
1038
snprintf(errstr, buflen, "Rule must contain an object");
lib/libugidfw/ugidfw.c
1049
snprintf(errstr, buflen, "Rule must contain mode");
lib/libugidfw/ugidfw.c
1060
argv + subject_elements, &rule->mbr_subject, buflen, errstr);
lib/libugidfw/ugidfw.c
1065
argv + object_elements, &rule->mbr_object, buflen, errstr);
lib/libugidfw/ugidfw.c
1070
&rule->mbr_mode, buflen, errstr);
lib/libugidfw/ugidfw.c
1079
size_t buflen, char *errstr)
lib/libugidfw/ugidfw.c
1096
error = bsde_parse_rule(argc, argv, rule, buflen, errstr);
lib/libugidfw/ugidfw.c
1119
bsde_check_version(size_t buflen, char *errstr)
lib/libugidfw/ugidfw.c
1128
snprintf(errstr, buflen, "version check failed: %s",
lib/libugidfw/ugidfw.c
1133
snprintf(errstr, buflen, "module v%d != library v%d",
lib/libugidfw/ugidfw.c
1141
bsde_get_rule_count(size_t buflen, char *errstr)
lib/libugidfw/ugidfw.c
1150
snprintf(errstr, buflen, "%s", strerror(errno));
lib/libugidfw/ugidfw.c
1154
snprintf(errstr, buflen, "Data error in %s.rule_count",
lib/libugidfw/ugidfw.c
1163
bsde_get_rule_slots(size_t buflen, char *errstr)
lib/libugidfw/ugidfw.c
1172
snprintf(errstr, buflen, "%s", strerror(errno));
lib/libugidfw/ugidfw.c
1176
snprintf(errstr, buflen, "Data error in %s.rule_slots", MIB);
lib/libugidfw/ugidfw.c
1190
char *errstr)
lib/libugidfw/ugidfw.c
1196
if (bsde_check_version(errlen, errstr) != 0)
lib/libugidfw/ugidfw.c
1202
snprintf(errstr, errlen, "%s: %s", MIB ".rules",
lib/libugidfw/ugidfw.c
1214
snprintf(errstr, errlen, "%s.%d: %s", MIB ".rules",
lib/libugidfw/ugidfw.c
1218
snprintf(errstr, errlen, "Data error in %s.%d: %s",
lib/libugidfw/ugidfw.c
1227
bsde_delete_rule(int rulenum, size_t buflen, char *errstr)
lib/libugidfw/ugidfw.c
1234
if (bsde_check_version(buflen, errstr) != 0)
lib/libugidfw/ugidfw.c
1240
snprintf(errstr, buflen, "%s: %s", MIB ".rules",
lib/libugidfw/ugidfw.c
1250
snprintf(errstr, buflen, "%s.%d: %s", MIB ".rules",
lib/libugidfw/ugidfw.c
1260
char *errstr)
lib/libugidfw/ugidfw.c
1266
if (bsde_check_version(buflen, errstr) != 0)
lib/libugidfw/ugidfw.c
1272
snprintf(errstr, buflen, "%s: %s", MIB ".rules",
lib/libugidfw/ugidfw.c
1282
snprintf(errstr, buflen, "%s.%d: %s", MIB ".rules",
lib/libugidfw/ugidfw.c
1292
char *errstr)
lib/libugidfw/ugidfw.c
1299
if (bsde_check_version(buflen, errstr) != 0)
lib/libugidfw/ugidfw.c
1305
snprintf(errstr, buflen, "%s: %s", MIB ".rules",
lib/libugidfw/ugidfw.c
1312
snprintf(errstr, buflen, "unable to get rule slots: %s",
lib/libugidfw/ugidfw.c
1322
snprintf(errstr, buflen, "%s.%d: %s", MIB ".rules",
lib/libugidfw/ugidfw.c
511
size_t buflen, char *errstr){
lib/libugidfw/ugidfw.c
526
snprintf(errstr, buflen, "invalid uid: '%s'", spec1);
lib/libugidfw/ugidfw.c
543
snprintf(errstr, buflen, "invalid uid: '%s'", spec2);
lib/libugidfw/ugidfw.c
557
size_t buflen, char *errstr){
lib/libugidfw/ugidfw.c
572
snprintf(errstr, buflen, "invalid gid: '%s'", spec1);
lib/libugidfw/ugidfw.c
589
snprintf(errstr, buflen, "invalid gid: '%s'", spec2);
lib/libugidfw/ugidfw.c
602
bsde_get_jailid(const char *name, size_t buflen, char *errstr)
lib/libugidfw/ugidfw.c
617
if (errstr && buflen) {
lib/libugidfw/ugidfw.c
620
jiov[3].iov_base = errstr;
lib/libugidfw/ugidfw.c
622
errstr[0] = 0;
lib/libugidfw/ugidfw.c
624
if (jid < 0 && !errstr[0])
lib/libugidfw/ugidfw.c
625
snprintf(errstr, buflen, "jail_get: %s",
lib/libugidfw/ugidfw.c
634
struct mac_bsdextended_subject *subject, size_t buflen, char *errstr)
lib/libugidfw/ugidfw.c
656
snprintf(errstr, buflen, "uid short");
lib/libugidfw/ugidfw.c
660
snprintf(errstr, buflen, "one uid only");
lib/libugidfw/ugidfw.c
664
&uid_min, &uid_max, buflen, errstr) < 0)
lib/libugidfw/ugidfw.c
674
snprintf(errstr, buflen, "gid short");
lib/libugidfw/ugidfw.c
678
snprintf(errstr, buflen, "one gid only");
lib/libugidfw/ugidfw.c
682
&gid_min, &gid_max, buflen, errstr) < 0)
lib/libugidfw/ugidfw.c
692
snprintf(errstr, buflen, "prison short");
lib/libugidfw/ugidfw.c
696
snprintf(errstr, buflen, "one jail only");
lib/libugidfw/ugidfw.c
699
jid = bsde_get_jailid(argv[current+1], buflen, errstr);
lib/libugidfw/ugidfw.c
710
snprintf(errstr, buflen, "double negative");
lib/libugidfw/ugidfw.c
716
snprintf(errstr, buflen, "'%s' not expected",
lib/libugidfw/ugidfw.c
742
bsde_parse_type(char *spec, int *type, size_t buflen, char *errstr)
lib/libugidfw/ugidfw.c
775
snprintf(errstr, buflen, "Unknown type code: %c",
lib/libugidfw/ugidfw.c
785
bsde_parse_fsid(char *spec, struct fsid *fsid, size_t buflen, char *errstr)
lib/libugidfw/ugidfw.c
790
snprintf(errstr, buflen, "Unable to get id for %s: %s",
lib/libugidfw/ugidfw.c
802
struct mac_bsdextended_object *object, size_t buflen, char *errstr)
lib/libugidfw/ugidfw.c
826
snprintf(errstr, buflen, "uid short");
lib/libugidfw/ugidfw.c
830
snprintf(errstr, buflen, "one uid only");
lib/libugidfw/ugidfw.c
834
&uid_min, &uid_max, buflen, errstr) < 0)
lib/libugidfw/ugidfw.c
844
snprintf(errstr, buflen, "gid short");
lib/libugidfw/ugidfw.c
848
snprintf(errstr, buflen, "one gid only");
lib/libugidfw/ugidfw.c
852
&gid_min, &gid_max, buflen, errstr) < 0)
lib/libugidfw/ugidfw.c
862
snprintf(errstr, buflen, "filesys short");
lib/libugidfw/ugidfw.c
866
snprintf(errstr, buflen, "one fsid only");
lib/libugidfw/ugidfw.c
870
buflen, errstr) < 0)
lib/libugidfw/ugidfw.c
908
snprintf(errstr, buflen, "type short");
lib/libugidfw/ugidfw.c
912
snprintf(errstr, buflen, "one type only");
lib/libugidfw/ugidfw.c
916
buflen, errstr) < 0)
lib/libugidfw/ugidfw.c
926
snprintf(errstr, buflen,
lib/libugidfw/ugidfw.c
933
snprintf(errstr, buflen, "'%s' not expected",
lib/libugidfw/ugidfw.c
962
char *errstr)
lib/libugidfw/ugidfw.c
967
snprintf(errstr, buflen, "mode expects mode value");
lib/libugidfw/ugidfw.c
972
snprintf(errstr, buflen, "'%s' unexpected", argv[1]);
lib/libugidfw/ugidfw.c
998
snprintf(errstr, buflen, "Unknown mode letter: %c",
lib/libugidfw/ugidfw.h
41
char *errstr);
lib/libugidfw/ugidfw.h
43
struct mac_bsdextended_rule *rule, size_t buflen, char *errstr);
lib/libugidfw/ugidfw.h
45
struct mac_bsdextended_rule *rule, size_t buflen, char *errstr);
lib/libugidfw/ugidfw.h
47
int bsde_get_rule_count(size_t buflen, char *errstr);
lib/libugidfw/ugidfw.h
48
int bsde_get_rule_slots(size_t buflen, char *errstr);
lib/libugidfw/ugidfw.h
50
size_t errlen, char *errstr);
lib/libugidfw/ugidfw.h
51
int bsde_delete_rule(int rulenum, size_t buflen, char *errstr);
lib/libugidfw/ugidfw.h
53
size_t buflen, char *errstr);
lib/libugidfw/ugidfw.h
55
size_t buflen, char *errstr);
sbin/camcontrol/camcontrol.c
6605
const char errstr[] = "error sending format command";
sbin/camcontrol/camcontrol.c
6608
warn(errstr);
sbin/camcontrol/camcontrol.c
6610
warnx(errstr);
sbin/ccdconfig/ccdconfig.c
169
char const *errstr;
sbin/ccdconfig/ccdconfig.c
189
errstr = gctl_issue(grq);
sbin/ccdconfig/ccdconfig.c
190
if (errstr == NULL) {
sbin/ccdconfig/ccdconfig.c
198
errstr);
sbin/ccdconfig/ccdconfig.c
266
errstr = gctl_issue(grq);
sbin/ccdconfig/ccdconfig.c
267
if (errstr == NULL) {
sbin/ccdconfig/ccdconfig.c
276
errstr);
sbin/ccdconfig/ccdconfig.c
368
char const *errstr;
sbin/ccdconfig/ccdconfig.c
379
errstr = gctl_issue(grq);
sbin/ccdconfig/ccdconfig.c
380
if (errstr != NULL)
sbin/ccdconfig/ccdconfig.c
382
errstr);
sbin/geom/core/geom.c
465
const char *errstr;
sbin/geom/core/geom.c
497
errstr = req->error;
sbin/geom/core/geom.c
501
errstr = gctl_issue(req);
sbin/geom/core/geom.c
503
if (errstr != NULL && errstr[0] != '\0') {
sbin/geom/core/geom.c
504
xo_warnx("%s", errstr);
sbin/geom/core/geom.c
506
if (strncmp(errstr, "warning: ", strlen("warning: ")) == 0)
sbin/ifconfig/af_inet.c
219
const char *errstr;
sbin/ifconfig/af_inet.c
225
errstr = "invalid";
sbin/ifconfig/af_inet.c
227
masklen = (int)strtonum(p + 1, 0, 32, &errstr);
sbin/ifconfig/af_inet.c
228
if (errstr != NULL) {
sbin/ifconfig/af_inet.c
230
errx(1, "%s: bad value (width %s)", s, errstr);
sbin/ifconfig/af_inet.c
303
const char *errstr;
sbin/ifconfig/af_inet.c
308
errstr = "invalid";
sbin/ifconfig/af_inet.c
310
masklen = (int)strtonum(p + 1, 0, 32, &errstr);
sbin/ifconfig/af_inet.c
311
if (errstr != NULL) {
sbin/ifconfig/af_inet.c
313
errx(1, "%s: bad value (width %s)", s, errstr);
sbin/ifconfig/ifstf.c
106
const char *errstr;
sbin/ifconfig/ifstf.c
119
req.v4_prefixlen = (int)strtonum(p + 1, 0, 32, &errstr);
sbin/ifconfig/ifstf.c
120
if (errstr != NULL || req.v4_prefixlen == 0) {
sbin/ifconfig/ifstf.c
122
errx(1, "%s: bad value (prefix length %s)", val, errstr);
sbin/ipf/ipfstat/ipfstat.c
1284
const char *errstr = "";
sbin/ipf/ipfstat/ipfstat.c
1324
errstr = "ioctl(SIOCGETFS)";
sbin/ipf/ipfstat/ipfstat.c
1703
perror(errstr);
sbin/ipfw/ipfw2.c
5969
char const *errstr;
sbin/ipfw/ipfw2.c
5993
arg = strtonum(*av, 0, 0xffff, &errstr);
sbin/ipfw/ipfw2.c
5994
if (errstr)
sbin/ipfw/main.c
109
const char *errstr;
sbin/ipfw/main.c
426
&errstr);
sbin/ipfw/main.c
427
if (errstr)
sbin/mount_nfs/mount_nfs.c
138
char **errstr, struct iovec **iov, int *iovlen);
sbin/mount_nfs/mount_nfs.c
587
char *hostp, *delimp, *errstr, *spec;
sbin/mount_nfs/mount_nfs.c
702
ret = nfs_tryproto(ai, hostp, spec, &errstr, iov,
sbin/mount_nfs/mount_nfs.c
709
fprintf(stderr, "%s\n", errstr);
sbin/mount_nfs/mount_nfs.c
761
nfs_tryproto(struct addrinfo *ai, char *hostp, char *spec, char **errstr,
sbin/mount_nfs/mount_nfs.c
780
*errstr = errbuf;
sbin/pfctl/parse.y
3721
const char *errstr;
sbin/pfctl/parse.y
3730
i = strtonum($2 + 5, 0, 255, &errstr);
sbin/pfctl/parse.y
3731
if (errstr) {
sbin/pfctl/parse.y
3732
yyerror("%s: %s", $2, errstr);
sbin/pfctl/parse.y
7527
const char *errstr = NULL;
sbin/pfctl/parse.y
7531
LLONG_MAX, &errstr);
sbin/pfctl/parse.y
7532
if (errstr) {
sbin/pfctl/parse.y
7534
buf, errstr);
sbin/pfctl/pfctl.c
1378
const char *errstr;
sbin/pfctl/pfctl.c
1381
&errstr);
sbin/pfctl/pfctl.c
1382
if (errstr != NULL)
sbin/pfctl/pfctl.c
1383
errx(1, "source limiter id: %s", errstr);
sbin/pfctl/pfctl.c
1453
const char *errstr;
sbin/pfctl/pfctl.c
1462
id = strtonum(idopt, PF_SOURCELIM_ID_MIN, PF_SOURCELIM_ID_MAX, &errstr);
sbin/pfctl/pfctl.c
1463
if (errstr != NULL)
sbin/pfctl/pfctl.c
1464
errx(1, "source limiter id: %s", errstr);
sbin/pfctl/pfctl.c
672
const char *errstr;
sbin/pfctl/pfctl.c
695
prefix = strtonum(p, 0, res->ai_family == AF_INET6 ? 128 : 32, &errstr);
sbin/pfctl/pfctl.c
696
if (errstr)
sbin/pfctl/pfctl.c
697
errx(1, "prefix is %s: %s", errstr, p);
sbin/pfctl/pfctl_parser.c
1886
const char *errstr;
sbin/pfctl/pfctl_parser.c
1889
mask = strtonum(p+1, 0, 128, &errstr);
sbin/pfctl/pfctl_parser.c
1890
if (errstr) {
sbin/pfctl/pfctl_parser.c
1891
fprintf(stderr, "netmask is %s: %s\n", errstr, p);
sbin/pfctl/pfctl_table.c
256
const char *errstr;
sbin/pfctl/pfctl_table.c
263
lifetime = strtonum(*argv, 0, UINT_MAX, &errstr);
sbin/pfctl/pfctl_table.c
264
if (errstr)
sbin/pfctl/pfctl_table.c
265
errx(1, "expiry time: %s", errstr);
sbin/ping/ping.c
207
const char *errstr;
sbin/ping/ping.c
287
ltmp = strtonum(optarg, -1, 7, &errstr);
sbin/ping/ping.c
288
if (errstr != NULL)
sbin/ping/ping.c
293
ltmp = strtonum(optarg, 1, LONG_MAX, &errstr);
sbin/ping/ping.c
294
if (errstr != NULL)
sbin/ping/ping.c
317
ltmp = strtonum(optarg, 1, INT_MAX, &errstr);
sbin/ping/ping.c
318
if (errstr != NULL) {
sbin/ping/ping.c
331
ltmp = strtonum(optarg, 0, INT_MAX, &errstr);
sbin/ping/ping.c
332
if (errstr != NULL) {
sbin/ping/ping.c
348
ltmp = strtonum(optarg, 1, INT_MAX, &errstr);
sbin/ping/ping.c
349
if (errstr != NULL) {
sbin/ping/ping.c
385
ltmp = strtonum(optarg, 0, INT_MAX, &errstr);
sbin/ping/ping.c
386
if (errstr != NULL)
sbin/ping/ping.c
411
ltmp = strtonum(optarg, 0, MAXTTL, &errstr);
sbin/ping/ping.c
412
if (errstr != NULL)
sbin/ping/ping.c
456
ltmp = strtonum(optarg, 0, INT_MAX, &errstr);
sbin/ping/ping.c
457
if (errstr != NULL)
sbin/ping/ping.c
469
ltmp = strtonum(optarg, 0, MAXTTL, &errstr);
sbin/ping/ping.c
470
if (errstr != NULL)
share/examples/libifconfig/ifchangevlan.c
44
const char *errstr;
share/examples/libifconfig/ifchangevlan.c
56
vlantag = strtonum(argv[3], 0, USHRT_MAX, &errstr);
share/examples/libifconfig/ifchangevlan.c
58
if (errstr != NULL) {
share/examples/libifconfig/ifcreatevlan.c
43
const char *errstr;
share/examples/libifconfig/ifcreatevlan.c
54
vlantag = strtonum(argv[2], 0, USHRT_MAX, &errstr);
share/examples/libifconfig/ifcreatevlan.c
56
if (errstr != NULL) {
stand/common/interp_lua.c
152
const char *errstr = lua_tostring(luap, -1);
stand/common/interp_lua.c
153
errstr = errstr == NULL ? "unknown" : errstr;
stand/common/interp_lua.c
154
printf("ERROR: %s.\n", errstr);
stand/liblua/gfx_utils.c
268
const char *errstr = lua_tostring(L, -1);
stand/liblua/gfx_utils.c
269
errstr = errstr == NULL ? "unknown" : errstr;
stand/liblua/gfx_utils.c
270
printf("Error adding compat loader bindings: %s.\n", errstr);
sys/geom/part/g_part_ldm.c
775
const char *errstr;
sys/geom/part/g_part_ldm.c
783
errstr = "object id";
sys/geom/part/g_part_ldm.c
788
errstr = "object name";
sys/geom/part/g_part_ldm.c
804
errstr = "volume state";
sys/geom/part/g_part_ldm.c
809
errstr = "children count";
sys/geom/part/g_part_ldm.c
815
errstr = "volume id";
sys/geom/part/g_part_ldm.c
831
errstr = "too small buffer";
sys/geom/part/g_part_ldm.c
838
errstr = "partition size";
sys/geom/part/g_part_ldm.c
843
errstr = "component id";
sys/geom/part/g_part_ldm.c
848
errstr = "disk id";
sys/geom/part/g_part_ldm.c
859
errstr = "disk guid";
sys/geom/part/g_part_ldm.c
880
errstr = "disk group guid";
sys/geom/part/g_part_ldm.c
885
errstr = "disk group guid";
sys/geom/part/g_part_ldm.c
930
errstr = "volume type";
sys/geom/part/g_part_ldm.c
935
errstr = "unknown param";
sys/geom/part/g_part_ldm.c
939
errstr = "too small buffer";
sys/geom/part/g_part_ldm.c
945
errstr = "children count";
sys/geom/part/g_part_ldm.c
950
errstr = "volume size";
sys/geom/part/g_part_ldm.c
954
errstr = "too small buffer";
sys/geom/part/g_part_ldm.c
978
errstr, blk->type);
tests/sys/fifo/fifo_open.c
101
run_in_process(int (*func)(void), pid_t *pidp, const char *errstr)
tests/sys/fifo/fifo_open.c
107
warn("%s: run_in_process: fork", errstr);
tests/sys/fifo/fifo_open.c
126
wait_and_timeout(pid_t pid, int timeout, int *status, const char *errstr)
tests/sys/fifo/fifo_open.c
138
warn("%s: wait_and_timeout: waitpid %d", errstr, pid);
tests/sys/fifo/fifo_open.c
150
warn("%s: wait_and_timeout: waitpid %d", errstr, pid);
tests/sys/fifo/fifo_open.c
158
warn("%s: wait_and_timeout: kill %d", errstr, pid);
tests/sys/fifo/fifo_open.c
164
warn("%s: wait_and_timeout: waitpid %d", errstr, pid);
tests/sys/fifo/fifo_open.c
169
warn("%s: waitpid: returned %d not %d", errstr, wpid, pid);
tests/sys/fifo/fifo_open.c
173
warnx("%s: process blocked", errstr);
tests/sys/kern/tty/readsz.c
31
const char *errstr;
tests/sys/kern/tty/readsz.c
50
reps = strtonum(optarg, 0, SSIZE_MAX, &errstr);
tests/sys/kern/tty/readsz.c
51
if (errstr != NULL)
tests/sys/kern/tty/readsz.c
52
errx(1, "strtonum: %s", errstr);
tests/sys/kern/tty/readsz.c
56
reps = strtonum(optarg, 1, SSIZE_MAX, &errstr);
tests/sys/kern/tty/readsz.c
57
if (errstr != NULL)
tests/sys/kern/tty/readsz.c
58
errx(1, "strtonum: %s", errstr);
tests/sys/kern/tty/readsz.c
64
bufsz = strtonum(optarg, 1, SSIZE_MAX, &errstr);
tests/sys/kern/tty/readsz.c
65
if (errstr != NULL)
tests/sys/kern/tty/readsz.c
66
errx(1, "strtonum: %s", errstr);
tools/build/cross-build/closefrom.c
149
const char *errstr;
tools/build/cross-build/closefrom.c
152
fd = strtonum(dent->d_name, lowfd, INT_MAX, &errstr);
tools/build/cross-build/closefrom.c
153
if (errstr != NULL || fd == dirfd(dirp))
tools/regression/sockets/unix_cmsg/unix_cmsg.c
347
const char *errstr;
tools/regression/sockets/unix_cmsg/unix_cmsg.c
370
IPC_MSG_NUM_MAX, &errstr);
tools/regression/sockets/unix_cmsg/unix_cmsg.c
371
if (errstr != NULL)
tools/regression/sockets/unix_cmsg/unix_cmsg.c
373
errstr);
tools/regression/sockets/unix_cmsg/unix_cmsg.c
377
IPC_MSG_SIZE_MAX, &errstr);
tools/regression/sockets/unix_cmsg/unix_cmsg.c
378
if (errstr != NULL)
tools/regression/sockets/unix_cmsg/unix_cmsg.c
380
errstr);
tools/regression/sockets/unix_cmsg/unix_cmsg.c
392
zvalue = strtonum(optarg, 0, 3, &errstr);
tools/regression/sockets/unix_cmsg/unix_cmsg.c
393
if (errstr != NULL)
tools/regression/sockets/unix_cmsg/unix_cmsg.c
395
errstr);
tools/regression/sockets/unix_cmsg/unix_cmsg.c
409
testno = strtonum(argv[optind], 0, UINT_MAX, &errstr);
tools/regression/sockets/unix_cmsg/unix_cmsg.c
410
if (errstr != NULL)
tools/regression/sockets/unix_cmsg/unix_cmsg.c
411
errx(EXIT_FAILURE, "test number is %s", errstr);
tools/test/buf_ring/buf_ring_test.c
223
const char *errstr;
tools/test/buf_ring/buf_ring_test.c
231
errstr = NULL;
tools/test/buf_ring/buf_ring_test.c
232
size = strtonum(optarg, 1, UINT_MAX, &errstr);
tools/test/buf_ring/buf_ring_test.c
233
if (errstr != NULL) {
tools/test/buf_ring/buf_ring_test.c
234
errx(1, "--bufsize=%s: %s", optarg, errstr);
tools/test/buf_ring/buf_ring_test.c
256
errstr = NULL;
tools/test/buf_ring/buf_ring_test.c
257
prod_count = strtonum(optarg, 1, UINT_MAX, &errstr);
tools/test/buf_ring/buf_ring_test.c
258
if (errstr != NULL) {
tools/test/buf_ring/buf_ring_test.c
259
errx(1, "--prod-count=%s: %s", optarg, errstr);
tools/test/iconv/tablegen/tablegen.c
103
errstr = "EINVAL ";
tools/test/iconv/tablegen/tablegen.c
106
errstr = "EILSEQ ";
tools/test/iconv/tablegen/tablegen.c
109
errstr = "E2BIG ";
tools/test/iconv/tablegen/tablegen.c
112
errstr = "UNKNOWN ";
tools/test/iconv/tablegen/tablegen.c
121
printf("%s%s%s%s%s", errstr, u2m, m2w, m2u, w2m);
tools/test/iconv/tablegen/tablegen.c
98
const char *errstr;
usr.bin/col/col.c
125
const char *errstr;
usr.bin/col/col.c
150
(INT_MAX - BUFFER_MARGIN) / 2, &errstr) * 2;
usr.bin/col/col.c
151
if (errstr != NULL)
usr.bin/col/col.c
152
errx(1, "bad -l argument, %s: %s", errstr,
usr.bin/column/column.c
72
const char *errstr, *src;
usr.bin/column/column.c
88
termwidth = strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/column/column.c
89
if (errstr != NULL)
usr.bin/column/column.c
91
optarg, errstr);
usr.bin/column/column.c
94
tblcols = strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/column/column.c
95
if (errstr != NULL)
usr.bin/column/column.c
97
optarg, errstr);
usr.bin/diff/diff.c
140
const char *errstr;
usr.bin/diff/diff.c
197
1, INT_MAX, &errstr);
usr.bin/diff/diff.c
198
if (errstr != NULL) {
usr.bin/diff/diff.c
200
errstr, optarg);
usr.bin/diff/diff.c
300
0, INT_MAX, &errstr);
usr.bin/diff/diff.c
301
if (errstr != NULL) {
usr.bin/diff/diff.c
303
errstr, optarg);
usr.bin/diff/diff.c
312
width = (int) strtonum(optarg, 1, INT_MAX, &errstr);
usr.bin/diff/diff.c
313
if (errstr != NULL) {
usr.bin/diff/diff.c
314
warnx("width is %s: %s", errstr, optarg);
usr.bin/diff/diff.c
353
tabsize = (int) strtonum(optarg, 1, INT_MAX, &errstr);
usr.bin/diff/diff.c
354
if (errstr != NULL) {
usr.bin/diff/diff.c
355
warnx("tabsize is %s: %s", errstr, optarg);
usr.bin/grep/grep.c
145
fprintf(stderr, errstr[3], getprogname());
usr.bin/grep/grep.c
146
fprintf(stderr, "%s", errstr[4]);
usr.bin/grep/grep.c
147
fprintf(stderr, "%s", errstr[5]);
usr.bin/grep/grep.c
148
fprintf(stderr, "%s", errstr[6]);
usr.bin/grep/grep.c
441
errx(2, errstr[2], "--devices");
usr.bin/grep/grep.c
452
errx(2, errstr[2], "--directories");
usr.bin/grep/grep.c
53
const char *errstr[] = {
usr.bin/grep/grep.c
547
printf(errstr[8], getprogname(), VERSION);
usr.bin/grep/grep.c
572
errx(2, errstr[2], "--binary-files");
usr.bin/grep/grep.c
592
errx(2, errstr[2], "--color");
usr.bin/grep/grep.h
40
extern const char *errstr[];
usr.bin/grep/util.c
322
fn = label != NULL ? label : errstr[1];
usr.bin/grep/util.c
422
printf(errstr[7], fn);
usr.bin/lockf/lockf.c
108
const char *errstr;
usr.bin/lockf/lockf.c
131
waitsec = strtonum(optarg, 0, UINT_MAX, &errstr);
usr.bin/lockf/lockf.c
132
if (errstr != NULL)
usr.bin/m4/eval.c
126
const char *errstr;
usr.bin/m4/eval.c
181
const char *errstr;
usr.bin/m4/eval.c
184
base = strtonum(argv[3], 2, 36, &errstr);
usr.bin/m4/eval.c
185
if (errstr) {
usr.bin/m4/eval.c
187
errstr, argv[3]);
usr.bin/m4/eval.c
191
mindigits = strtonum(argv[4], 0, INT_MAX, &errstr);
usr.bin/m4/eval.c
192
if (errstr) {
usr.bin/m4/eval.c
194
errstr, argv[4]);
usr.bin/m4/eval.c
231
n = strtonum(argv[2], INT_MIN, INT_MAX-1, &errstr);
usr.bin/m4/eval.c
232
if (errstr != NULL)
usr.bin/m4/eval.c
234
errstr, argv[2]);
usr.bin/m4/eval.c
244
n = strtonum(argv[2], INT_MIN+1, INT_MAX, &errstr);
usr.bin/m4/eval.c
245
if (errstr)
usr.bin/m4/eval.c
247
errstr, argv[2]);
usr.bin/m4/eval.c
350
n = strtonum(argv[2], INT_MIN, INT_MAX, &errstr);
usr.bin/m4/eval.c
351
if (errstr)
usr.bin/m4/eval.c
353
errstr, argv[2]);
usr.bin/m4/eval.c
854
const char *errstr;
usr.bin/m4/eval.c
855
n = strtonum(argv[ind], 1, INT_MAX, &errstr);
usr.bin/m4/eval.c
856
if (errstr) {
usr.bin/patch/pch.c
1642
const char *errstr;
usr.bin/patch/pch.c
1653
rv = strtonum(nptr, 0, LINENUM_MAX, &errstr);
usr.bin/patch/pch.c
1654
if (errstr != NULL)
usr.bin/patch/pch.c
1656
p_input_line, nptr, errstr);
usr.bin/perror/perror.c
47
char *errstr;
usr.bin/perror/perror.c
66
if ((errstr = strerror(errnum)) == NULL)
usr.bin/perror/perror.c
69
printf("%s\n", errstr);
usr.bin/sdiff/sdiff.c
214
const char *errstr, *outfile = NULL;
usr.bin/sdiff/sdiff.c
294
INT_MAX, &errstr);
usr.bin/sdiff/sdiff.c
295
if (errstr)
usr.bin/sdiff/sdiff.c
296
errx(2, "width is %s: %s", errstr, optarg);
usr.bin/sdiff/sdiff.c
304
tabsize = strtonum(optarg, 1, INT_MAX, &errstr);
usr.bin/sdiff/sdiff.c
305
if (errstr)
usr.bin/sdiff/sdiff.c
306
errx(2, "tabsize is %s: %s", errstr, optarg);
usr.bin/sdiff/sdiff.c
717
const char *errstr;
usr.bin/sdiff/sdiff.c
730
file1start = strtonum(line, 0, INT_MAX, &errstr);
usr.bin/sdiff/sdiff.c
731
if (errstr)
usr.bin/sdiff/sdiff.c
732
errx(2, "file1 start is %s: %s", errstr, line);
usr.bin/sdiff/sdiff.c
742
file1end = strtonum(q, 0, INT_MAX, &errstr);
usr.bin/sdiff/sdiff.c
743
if (errstr)
usr.bin/sdiff/sdiff.c
744
errx(2, "file1 end is %s: %s", errstr, line);
usr.bin/sdiff/sdiff.c
761
file2start = strtonum(q, 0, INT_MAX, &errstr);
usr.bin/sdiff/sdiff.c
762
if (errstr)
usr.bin/sdiff/sdiff.c
763
errx(2, "file2 start is %s: %s", errstr, line);
usr.bin/sdiff/sdiff.c
774
file2end = strtonum(p, 0, INT_MAX, &errstr);
usr.bin/sdiff/sdiff.c
775
if (errstr)
usr.bin/sdiff/sdiff.c
776
errx(2, "file2 end is %s: %s", errstr, line);
usr.bin/split/split.c
102
sufflen = strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/split/split.c
103
if (errstr != NULL) {
usr.bin/split/split.c
105
optarg, errstr);
usr.bin/split/split.c
129
numlines = strtonum(optarg, 1, LONG_MAX, &errstr);
usr.bin/split/split.c
130
if (errstr != NULL) {
usr.bin/split/split.c
132
optarg, errstr);
usr.bin/split/split.c
136
chunks = strtonum(optarg, 1, LONG_MAX, &errstr);
usr.bin/split/split.c
137
if (errstr != NULL) {
usr.bin/split/split.c
139
optarg, errstr);
usr.bin/split/split.c
77
const char *p, *errstr;
usr.bin/top/top.c
1144
const char *errstr;
usr.bin/top/top.c
1147
&errstr);
usr.bin/top/top.c
1148
if (errstr != NULL || !find_pid(num)) {
usr.bin/top/top.c
367
const char *errstr;
usr.bin/top/top.c
369
num = strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/top/top.c
370
if (errstr != NULL || !find_pid(num)) {
usr.bin/truss/main.c
120
&errstr);
usr.bin/truss/main.c
121
if (errstr)
usr.bin/truss/main.c
122
errx(1, "maximum string size is %s: %s", errstr, optarg);
usr.bin/truss/main.c
72
const char *errstr;
usr.bin/uniq/uniq.c
116
numfields = strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/uniq/uniq.c
117
if (errstr)
usr.bin/uniq/uniq.c
118
errx(1, "field skip value is %s: %s", errstr, optarg);
usr.bin/uniq/uniq.c
121
numchars = strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/uniq/uniq.c
122
if (errstr != NULL)
usr.bin/uniq/uniq.c
123
errx(1, "character skip value is %s: %s", errstr, optarg);
usr.bin/uniq/uniq.c
87
const char *errstr, *ifn, *ofn;
usr.bin/xargs/xargs.c
113
const char *errstr;
usr.bin/xargs/xargs.c
163
Lflag = (int)strtonum(optarg, 1, INT_MAX, &errstr);
usr.bin/xargs/xargs.c
164
if (errstr)
usr.bin/xargs/xargs.c
165
errx(1, "-%c %s: %s", ch, optarg, errstr);
usr.bin/xargs/xargs.c
169
nargs = (int)strtonum(optarg, 1, arg_max, &errstr);
usr.bin/xargs/xargs.c
170
if (errstr)
usr.bin/xargs/xargs.c
171
errx(1, "-%c %s: %s", ch, optarg, errstr);
usr.bin/xargs/xargs.c
177
maxprocs = (int)strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/xargs/xargs.c
178
if (errstr)
usr.bin/xargs/xargs.c
179
errx(1, "-%c %s: %s", ch, optarg, errstr);
usr.bin/xargs/xargs.c
189
Rflag = (int)strtonum(optarg, INT_MIN, INT_MAX, &errstr);
usr.bin/xargs/xargs.c
190
if (errstr)
usr.bin/xargs/xargs.c
191
errx(1, "-%c %s: %s", ch, optarg, errstr);
usr.bin/xargs/xargs.c
199
Sflag = (int)strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/xargs/xargs.c
200
if (errstr)
usr.bin/xargs/xargs.c
201
errx(1, "-%c %s: %s", ch, optarg, errstr);
usr.bin/xargs/xargs.c
204
nline = (int)strtonum(optarg, 0, INT_MAX, &errstr);
usr.bin/xargs/xargs.c
205
if (errstr)
usr.bin/xargs/xargs.c
206
errx(1, "-%c %s: %s", ch, optarg, errstr);
usr.sbin/autofs/log.c
124
errstr = strerror(log_errno);
usr.sbin/autofs/log.c
128
peer_addr, peer_name, msgbuf_strvised, errstr);
usr.sbin/autofs/log.c
130
peer_addr, peer_name, msgbuf_strvised, errstr);
usr.sbin/autofs/log.c
133
peer_addr, msgbuf_strvised, errstr);
usr.sbin/autofs/log.c
135
peer_addr, msgbuf_strvised, errstr);
usr.sbin/autofs/log.c
138
msgbuf_strvised, errstr);
usr.sbin/autofs/log.c
140
msgbuf_strvised, errstr);
usr.sbin/autofs/log.c
90
char *errstr;
usr.sbin/bsdinstall/partedit/gpart_ops.c
1036
const char *errstr, *scheme;
usr.sbin/bsdinstall/partedit/gpart_ops.c
1313
errstr = gctl_issue(r);
usr.sbin/bsdinstall/partedit/gpart_ops.c
1314
if (errstr != NULL && errstr[0] != '\0') {
usr.sbin/bsdinstall/partedit/gpart_ops.c
1315
gpart_show_error("Error", NULL, errstr);
usr.sbin/bsdinstall/partedit/gpart_ops.c
1363
const char *errstr;
usr.sbin/bsdinstall/partedit/gpart_ops.c
1423
errstr = gctl_issue(r);
usr.sbin/bsdinstall/partedit/gpart_ops.c
1424
if (errstr != NULL && errstr[0] != '\0') {
usr.sbin/bsdinstall/partedit/gpart_ops.c
1425
gpart_show_error("Error", NULL, errstr);
usr.sbin/bsdinstall/partedit/gpart_ops.c
1490
const char *errstr;
usr.sbin/bsdinstall/partedit/gpart_ops.c
1558
errstr = gctl_issue(r);
usr.sbin/bsdinstall/partedit/gpart_ops.c
1559
if (errstr != NULL && errstr[0] != '\0')
usr.sbin/bsdinstall/partedit/gpart_ops.c
1560
gpart_show_error("Error", NULL, errstr);
usr.sbin/bsdinstall/partedit/gpart_ops.c
290
const char *errstr;
usr.sbin/bsdinstall/partedit/gpart_ops.c
328
errstr = gctl_issue(r);
usr.sbin/bsdinstall/partedit/gpart_ops.c
329
if (errstr != NULL && errstr[0] != '\0') {
usr.sbin/bsdinstall/partedit/gpart_ops.c
330
gpart_show_error("Error", NULL, errstr);
usr.sbin/bsdinstall/partedit/gpart_ops.c
347
const char *errstr, *scheme;
usr.sbin/bsdinstall/partedit/gpart_ops.c
381
errstr = gctl_issue(r);
usr.sbin/bsdinstall/partedit/gpart_ops.c
382
if (errstr != NULL && errstr[0] != '\0')
usr.sbin/bsdinstall/partedit/gpart_ops.c
384
errstr);
usr.sbin/bsdinstall/partedit/gpart_ops.c
392
const char *errstr;
usr.sbin/bsdinstall/partedit/gpart_ops.c
401
errstr = gctl_issue(r);
usr.sbin/bsdinstall/partedit/gpart_ops.c
402
if (errstr != NULL && errstr[0] != '\0')
usr.sbin/bsdinstall/partedit/gpart_ops.c
404
errstr);
usr.sbin/bsdinstall/partedit/gpart_ops.c
414
const char *errstr, *scheme;
usr.sbin/bsdinstall/partedit/gpart_ops.c
457
errstr = gctl_issue(r);
usr.sbin/bsdinstall/partedit/gpart_ops.c
458
if (errstr != NULL && errstr[0] != '\0')
usr.sbin/bsdinstall/partedit/gpart_ops.c
459
gpart_show_error("Bootcode Error", NULL, errstr);
usr.sbin/bsdinstall/partedit/gpart_ops.c
50
gpart_show_error(const char *title, const char *explanation, const char *errstr)
usr.sbin/bsdinstall/partedit/gpart_ops.c
509
const char *errstr;
usr.sbin/bsdinstall/partedit/gpart_ops.c
531
errstr = gctl_issue(r);
usr.sbin/bsdinstall/partedit/gpart_ops.c
532
if (errstr != NULL && errstr[0] != '\0') {
usr.sbin/bsdinstall/partedit/gpart_ops.c
537
if (strtol(errstr, NULL, 0) != EINVAL)
usr.sbin/bsdinstall/partedit/gpart_ops.c
538
gpart_show_error("Error", NULL, errstr);
usr.sbin/bsdinstall/partedit/gpart_ops.c
553
const char *errstr, *oldtype, *scheme;
usr.sbin/bsdinstall/partedit/gpart_ops.c
60
error = strtol(errstr, &errmsg, 0);
usr.sbin/bsdinstall/partedit/gpart_ops.c
61
if (errmsg != errstr) {
usr.sbin/bsdinstall/partedit/gpart_ops.c
698
errstr = gctl_issue(r);
usr.sbin/bsdinstall/partedit/gpart_ops.c
699
if (errstr != NULL && errstr[0] != '\0') {
usr.sbin/bsdinstall/partedit/gpart_ops.c
700
gpart_show_error("Error", NULL, errstr);
usr.sbin/ctld/ctld.cc
1595
const char *errstr;
usr.sbin/ctld/ctld.cc
1609
device_type = strtonum(value, 0, 15, &errstr);
usr.sbin/ctld/ctld.cc
1610
if (errstr != NULL) {
usr.sbin/inetd/builtins.c
652
const char *errstr;
usr.sbin/inetd/builtins.c
655
uid = strtonum(p, 0, UID_MAX, &errstr);
usr.sbin/inetd/builtins.c
656
if (errstr != NULL)
usr.sbin/moused/moused/moused.c
2584
char *arg, *errstr;
usr.sbin/moused/moused/moused.c
2603
asprintf(&errstr, "invalid argument `%s'", arg);
usr.sbin/moused/moused/moused.c
2604
return (errstr);
usr.sbin/moused/moused/moused.c
2614
asprintf(&errstr, "invalid argument `%s'", argv[*idx]);
usr.sbin/moused/moused/moused.c
2615
return (errstr);
usr.sbin/moused/moused/moused.c
535
char *errstr;
usr.sbin/moused/moused/moused.c
676
errstr = r_installzmap(argv, argc, &optind, &opt_btstate);
usr.sbin/moused/moused/moused.c
677
if (errstr != NULL) {
usr.sbin/moused/moused/moused.c
678
warnx("%s", errstr);
usr.sbin/moused/moused/moused.c
679
free(errstr);
usr.sbin/ppp/chap.c
598
if (*bundle->radius.cfg.file && bundle->radius.errstr)
usr.sbin/ppp/chap.c
599
msg = bundle->radius.errstr;
usr.sbin/ppp/radius.c
1320
prompt_Printf(p, " Error Message: %s\n", r->errstr ? r->errstr : "");
usr.sbin/ppp/radius.c
535
free(r->errstr);
usr.sbin/ppp/radius.c
537
r->errstr = NULL;
usr.sbin/ppp/radius.c
549
if ((r->errstr = rad_cvt_string((const char *)data,
usr.sbin/ppp/radius.c
558
" MS-CHAP-Error \"%s\"\n", r->errstr);
usr.sbin/ppp/radius.c
780
r->errstr = NULL;
usr.sbin/ppp/radius.c
814
free(r->errstr);
usr.sbin/ppp/radius.c
815
r->errstr = NULL;
usr.sbin/ppp/radius.h
58
char *errstr; /* Error-Message */
usr.sbin/pw/pw_conf.c
245
const char *errstr;
usr.sbin/pw/pw_conf.c
340
UID_MAX, &errstr);
usr.sbin/pw/pw_conf.c
341
if (errstr)
usr.sbin/pw/pw_conf.c
349
UID_MAX, &errstr);
usr.sbin/pw/pw_conf.c
350
if (errstr)
usr.sbin/pw/pw_conf.c
358
GID_MAX, &errstr);
usr.sbin/pw/pw_conf.c
359
if (errstr)
usr.sbin/pw/pw_conf.c
367
GID_MAX, &errstr);
usr.sbin/pw/pw_conf.c
368
if (errstr)
usr.sbin/pw/pw_conf.c
376
INT_MAX, &errstr);
usr.sbin/pw/pw_conf.c
377
if (errstr)
usr.sbin/pw/pw_conf.c
385
INT_MAX, &errstr);
usr.sbin/pw/pw_conf.c
386
if (errstr)
usr.sbin/pw/pw_user.c
1078
const char *errstr = NULL;
usr.sbin/pw/pw_user.c
1083
id = strtounum(name, 0, GID_MAX, &errstr);
usr.sbin/pw/pw_user.c
1084
if (errstr)
usr.sbin/pw/pw_utils.c
41
const char *errstr;
usr.sbin/pw/pw_utils.c
46
fd = strtonum(nptr, 0, INT_MAX, &errstr);
usr.sbin/pw/pw_utils.c
47
if (errstr != NULL)
usr.sbin/pw/pw_utils.c
49
nptr, errstr);
usr.sbin/pw/pw_utils.c
56
const char *errstr = NULL;
usr.sbin/pw/pw_utils.c
59
id = strtounum(nptr, 0, maxval, &errstr);
usr.sbin/pw/pw_utils.c
60
if (errstr)
usr.sbin/pw/pw_utils.c
61
errx(EX_USAGE, "Bad id '%s': %s", nptr, errstr);
usr.sbin/syslogd/syslogd_cap_log.c
119
const char *errstr = nvlist_get_string(nvl, "errstr");
usr.sbin/syslogd/syslogd_cap_log.c
120
(void)strlcpy(errbuf, errstr, sizeof(errbuf));
usr.sbin/traceroute/findsaddr-udp.c
56
const char *errstr;
usr.sbin/traceroute/findsaddr-udp.c
65
errstr = NULL;
usr.sbin/traceroute/findsaddr-udp.c
70
errstr = "failed to connect to peer for src addr selection.";
usr.sbin/traceroute/findsaddr-udp.c
75
errstr = "failed to get socket name for src addr selection.";
usr.sbin/traceroute/findsaddr-udp.c
80
errstr = "unexpected address family in src addr selection.";
usr.sbin/traceroute/findsaddr-udp.c
91
return (errstr);
usr.sbin/ugidfw/ugidfw.c
101
rule_slots = bsde_get_rule_slots(BUFSIZ, errstr);
usr.sbin/ugidfw/ugidfw.c
105
errx(1, "bsde_get_rule_slots: %s", errstr);
usr.sbin/ugidfw/ugidfw.c
108
rule_count = bsde_get_rule_count(BUFSIZ, errstr);
usr.sbin/ugidfw/ugidfw.c
110
errx(1, "bsde_get_rule_count: %s", errstr);
usr.sbin/ugidfw/ugidfw.c
115
error = bsde_get_rule(i, &rule, BUFSIZ, errstr);
usr.sbin/ugidfw/ugidfw.c
120
warnx("rule %d: %s", i, errstr);
usr.sbin/ugidfw/ugidfw.c
136
char errstr[BUFSIZ];
usr.sbin/ugidfw/ugidfw.c
154
error = bsde_parse_rule(argc - 1, argv + 1, &rule, BUFSIZ, errstr);
usr.sbin/ugidfw/ugidfw.c
156
warnx("%s", errstr);
usr.sbin/ugidfw/ugidfw.c
160
error = bsde_set_rule(rulenum, &rule, BUFSIZ, errstr);
usr.sbin/ugidfw/ugidfw.c
162
warnx("%s", errstr);
usr.sbin/ugidfw/ugidfw.c
170
char errstr[BUFSIZ];
usr.sbin/ugidfw/ugidfw.c
187
error = bsde_delete_rule(rulenum, BUFSIZ, errstr);
usr.sbin/ugidfw/ugidfw.c
189
warnx("%s", errstr);
usr.sbin/ugidfw/ugidfw.c
73
char errstr[BUFSIZ], charstr[BUFSIZ];
usr.sbin/ugidfw/ugidfw.c
77
error = bsde_parse_rule(argc, argv, &rule, BUFSIZ, errstr);
usr.sbin/ugidfw/ugidfw.c
79
warnx("%s", errstr);
usr.sbin/ugidfw/ugidfw.c
83
error = bsde_add_rule(&rulenum, &rule, BUFSIZ, errstr);
usr.sbin/ugidfw/ugidfw.c
85
warnx("%s", errstr);
usr.sbin/ugidfw/ugidfw.c
97
char errstr[BUFSIZ], charstr[BUFSIZ];
usr.sbin/watchdogd/watchdogd.c
478
const char *errstr;
usr.sbin/watchdogd/watchdogd.c
482
errstr = NULL;
usr.sbin/watchdogd/watchdogd.c
487
errstr = "is not a number";
usr.sbin/watchdogd/watchdogd.c
489
errstr = "must be greater than zero";
usr.sbin/watchdogd/watchdogd.c
490
if (errstr) {
usr.sbin/watchdogd/watchdogd.c
492
errx(EX_USAGE, "--%s argument %s", longopt, errstr);
usr.sbin/watchdogd/watchdogd.c
494
errx(EX_USAGE, "-%c argument %s", opt, errstr);
usr.sbin/ypldap/aldap.c
571
const char *errstr = NULL;
usr.sbin/ypldap/aldap.c
592
lu->port = strtonum(++forward2, 0, PORT_MAX, &errstr);
usr.sbin/ypldap/aldap.c
593
if (errstr)
usr.sbin/ypldap/ber.c
419
const char *errstr;
usr.sbin/ypldap/ber.c
429
o->bo_id[o->bo_n++] = strtonum(sp, 0, UINT_MAX, &errstr);
usr.sbin/ypldap/ber.c
430
if (errstr || o->bo_n > BER_MAX_OID_LEN)
usr.sbin/ypldap/ldapclient.c
509
const char *errstr;
usr.sbin/ypldap/ldapclient.c
519
aldap_get_errno(al, &errstr);
usr.sbin/ypldap/ldapclient.c
520
log_debug("%s", errstr);
usr.sbin/ypldap/parse.y
606
const char *errstr = NULL;
usr.sbin/ypldap/parse.y
610
LLONG_MAX, &errstr);
usr.sbin/ypldap/parse.y
611
if (errstr) {
usr.sbin/ypldap/parse.y
613
buf, errstr);
usr.sbin/ypldap/ypldap.c
185
const char *errstr = NULL;
usr.sbin/ypldap/ypldap.c
203
pw_gid = (gid_t)strtonum(bp, 0, GID_MAX, &errstr);
usr.sbin/ypldap/ypldap.c
204
if (errstr) {