| /src/lib/libc/stdlib/ |
| strsuftoll.c | 123 char errbuf[100]; local 125 result = strsuftollx(desc, val, min, max, errbuf, sizeof(errbuf)); 126 if (*errbuf != '\0') 127 errx(EXIT_FAILURE, "%s", errbuf);
|
| /src/lib/libutil/ |
| ttymsg.c | 66 static char errbuf[1024]; local 80 (void)snprintf(errbuf, sizeof(errbuf), 82 return errbuf; 86 (void)snprintf(errbuf, sizeof(errbuf), 89 return errbuf; 95 (void)snprintf(errbuf, sizeof(errbuf), 97 return errbuf; [all...] |
| passwd.c | 342 char errbuf[200]; local 345 rv = pw_copyx(ffd, tfd, pw, old_pw, errbuf, sizeof(errbuf)); 347 warnx("%s", errbuf); 364 char *errbuf, size_t errbufsz) 372 _DIAGASSERT(errbuf != NULL); 376 snprintf(errbuf, errbufsz, "%s: %s", pw_prefix, 382 snprintf(errbuf, errbufsz, "%s: %s", pw_prefix, 389 snprintf(errbuf, errbufsz, "%s: %s", mpwd, strerror(errno)); 393 snprintf(errbuf, errbufsz, "%s: %s", mpwdl, strerror(errno)) [all...] |
| /src/usr.sbin/rbootd/ |
| bpf.c | 224 static char errbuf[128] = "No Error!"; local 227 *errmsg = errbuf; 230 (void) strlcpy(errbuf, "bpf: getifaddrs: %m", sizeof(errbuf)); 258 (void) strlcpy(errbuf, "bpf: no interfaces found", 259 sizeof(errbuf));
|
| /src/usr.sbin/npf/npfd/ |
| npfd_log.c | 247 char errbuf[PCAP_ERRBUF_SIZE]; local 256 ctx->pcap = pcap_create(ctx->ifname, errbuf); 258 errx(EXIT_FAILURE, "pcap_create failed: %s", errbuf); 260 if (pcap_setnonblock(ctx->pcap, 1, errbuf) == -1) 261 errx(EXIT_FAILURE, "pcap_setnonblock failed: %s", errbuf);
|
| /src/lib/libkvm/ |
| kvm_private.h | 42 * if this value is null, errors are saved in errbuf[] 46 char errbuf[_POSIX2_LINE_MAX]; member in struct:__kvm
|
| /src/lib/libpam/modules/pam_unix/ |
| pam_unix.c | 359 char errbuf[200]; local 381 if (pw_copyx(pfd, tfd, pwd, opwd, errbuf, sizeof(errbuf)) == 0) { 383 errbuf);
|
| /src/lib/libtelnet/ |
| kerberos5.c | 320 char *errbuf; local 322 asprintf(&errbuf, 325 Data(ap, KRB_REJECT, errbuf, -1); 327 printf("%s\r\n", errbuf); 328 free(errbuf); 340 char *errbuf; local 341 asprintf(&errbuf, "Bad checksum: %s", 343 Data(ap, KRB_REJECT, errbuf, -1); 345 printf("%s\r\n", errbuf); 346 free(errbuf); 477 char *errbuf; local [all...] |
| /src/sys/arch/atari/stand/installboot/ |
| installboot.c | 197 char errbuf[_POSIX2_LINE_MAX]; local 206 kd_kern = kvm_openfiles(NULL, NULL, NULL, O_RDONLY, errbuf); 208 errx(EXIT_FAILURE, "kvm_openfiles: %s", errbuf);
|
| /src/sys/kern/ |
| subr_tftproot.c | 396 char errbuf[SEGSIZE + 1]; local 402 errbuf[i] = '\0'; 405 errbuf[i] = tftp->th_data[i]; 407 errbuf[SEGSIZE] = '\0'; 410 ntohs(tftp->th_code), errbuf);
|
| /src/usr.bin/nfsstat/ |
| nfsstat.c | 117 char errbuf[_POSIX2_LINE_MAX]; local 160 if ((kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf)) 162 errx(1, "kvm_openfiles: %s", errbuf);
|
| /src/usr.bin/systat/ |
| main.c | 99 char errbuf[_POSIX2_LINE_MAX]; local 182 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf); 184 errx(EXIT_FAILURE, "%s", errbuf);
|
| /src/usr.sbin/kgmon/ |
| kgmon.c | 203 char errbuf[_POSIX2_LINE_MAX]; local 223 kvp->kd = kvm_openfiles(sys, kmemf, NULL, openmode, errbuf); 228 errbuf); 231 errx(EXIT_FAILURE, "kvm_openfiles: %s", errbuf);
|
| /src/usr.sbin/trpt/ |
| trpt.c | 156 char *kernel, *core, *cp, errbuf[_POSIX2_LINE_MAX]; local 222 kd = kvm_openfiles(kernel, core, NULL, O_RDONLY, errbuf); 224 errx(1, "can't open kmem: %s", errbuf);
|
| /src/dist/pf/sbin/pflogd/ |
| pflogd.c | 75 char errbuf[PCAP_ERRBUF_SIZE]; variable 249 hpcap = pcap_open_live(interface, snaplen, 1, PCAP_TO_MS, errbuf); 251 logmsg(LOG_ERR, "Failed to initialize: %s", errbuf);
|
| /src/libexec/ftpd/ |
| conf.c | 143 char *endp, errbuf[100]; local 212 errbuf, sizeof(errbuf)); \ 213 if (errbuf[0]) { \ 215 infile, (int)line, errbuf); \ 424 IPPORT_ANONMAX, errbuf, sizeof(errbuf)); 425 if (errbuf[0]) { 427 infile, (int)line, errbuf); 431 IPPORT_ANONMAX, errbuf, sizeof(errbuf)) [all...] |
| /src/usr.bin/m4/ |
| gnum4.c | 257 char *errbuf; local 260 errbuf = xalloc(errlen, 262 regerror(er, re, errbuf, errlen); 263 m4errx(1, "regular expression error: %s for: `%s'", errbuf, pat);
|
| /src/usr.bin/pmap/ |
| main.c | 118 char errbuf[_POSIX2_LINE_MAX + 1]; local 250 kd = kvm_openfiles(kernel, kmem, NULL, O_RDONLY, errbuf); 258 errbuf[_POSIX2_LINE_MAX] = '\0'; 260 errx(1, "%s", errbuf);
|
| /src/bin/ps/ |
| ps.c | 212 char *nlistf, *memf, *swapf, errbuf[_POSIX2_LINE_MAX]; local 406 kd = kvm_openfiles(NULL, NULL, NULL, KVM_NO_FILES, errbuf); 409 kd = kvm_openfiles(nlistf, memf, swapf, O_RDONLY, errbuf); 412 errx(EXIT_FAILURE, "%s", errbuf);
|
| /src/usr.bin/w/ |
| w.c | 149 char errbuf[_POSIX2_LINE_MAX]; local 200 memf == NULL ? KVM_NO_FILES : O_RDONLY, errbuf)) == NULL) 201 errx(1, "%s", errbuf);
|
| /src/usr.sbin/lpr/common_source/ |
| common.c | 354 static char errbuf[128]; local 373 (void)snprintf(errbuf, sizeof(errbuf), 376 return errbuf; 386 (void)snprintf(errbuf, sizeof(errbuf), 390 return errbuf;
|
| /src/games/fortune/fortune/ |
| fortune.c | 1201 char errbuf[1024]; local 1212 regerror(code, &rx->regex, errbuf, sizeof(errbuf)); 1213 warnx("%s: `%s'", errbuf, pattern);
|
| /src/sbin/savecore/ |
| savecore.c | 296 char errbuf[_POSIX2_LINE_MAX]; local 307 kd_kern = kvm_openfiles(kernel, NULL, NULL, O_RDONLY, errbuf); 309 syslog(LOG_ERR, "%s: kvm_openfiles: %s", kernel, errbuf); 366 kd_dump = kvm_openfiles(kernel, ddname, NULL, O_RDWR, errbuf); 368 syslog(LOG_ERR, "%s: kvm_openfiles: %s", kernel, errbuf);
|
| /src/sys/arch/sparc/sparc/ |
| cpu.c | 732 static char errbuf[160]; local 733 char *bufp = errbuf; 734 size_t bufsz = sizeof errbuf, wrsz; 865 aprint_error("%s\n", errbuf); 882 printf_nolog("%s\n", errbuf);
|
| /src/usr.bin/find/ |
| function.c | 1670 char errbuf[LINE_MAX]; local 1691 regerror(rv, ®, errbuf, sizeof errbuf); 1692 errx(1, "regexp %s: %s", regexp, errbuf);
|