HomeSort by: relevance | last modified time | path
    Searched refs:errbuf (Results 1 - 25 of 39) sorted by relevancy

1 2

  /src/lib/libutil/
ttymsg.c 66 static char errbuf[1024]; local in function:ttymsg
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 in function:pw_copy
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/lib/libc/stdlib/
strsuftoll.c 123 char errbuf[100]; local in function:__weak_alias
125 result = strsuftollx(desc, val, min, max, errbuf, sizeof(errbuf));
126 if (*errbuf != '\0')
127 errx(EXIT_FAILURE, "%s", errbuf);
  /src/lib/libc/regex/
regerror.c 132 char * __restrict errbuf,
142 _DIAGASSERT(errbuf_size == 0 || errbuf != NULL);
163 (void) strlcpy(errbuf, s, errbuf_size);
  /src/lib/libutil/compat/
compat_passwd.c 87 char *errbuf, size_t errbufsiz)
93 return __pw_copyx50(ffd, tfd, &pw, opw50 ? &opw : NULL, errbuf,
  /src/lib/libtelnet/
kerberos5.c 320 char *errbuf; local in function:kerberos5_is
322 asprintf(&errbuf,
325 Data(ap, KRB_REJECT, errbuf, -1);
327 printf("%s\r\n", errbuf);
328 free(errbuf);
340 char *errbuf; local in function:kerberos5_is
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 in function:kerberos5_is
    [all...]
  /src/usr.sbin/traceroute/
ifaddrlist.c 91 ifaddrlist(struct ifaddrlist **ipaddrp, char *errbuf, size_t buflen)
144 (void)snprintf(errbuf, buflen, "%s: %s", __func__, strerror(errno));
  /src/usr.sbin/rbootd/
bpf.c 224 static char errbuf[128] = "No Error!"; local in function:BpfGetIntfName
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/lpr/common_source/
common.c 354 static char errbuf[128]; local in function:checkremote
373 (void)snprintf(errbuf, sizeof(errbuf),
376 return errbuf;
386 (void)snprintf(errbuf, sizeof(errbuf),
390 return errbuf;
  /src/sys/dev/microcode/aic7xxx/
aicasm_gram.y 70 static char errbuf[255];
695 snprintf(errbuf, sizeof(errbuf),
698 stop(errbuf, EX_DATAERR);
789 snprintf(errbuf, sizeof(errbuf), "%s%d", SRAM_SYMNAME,
916 snprintf(errbuf, sizeof(errbuf),
921 stop(errbuf, EX_DATAERR);
1589 snprintf(errbuf, sizeof(errbuf), "Undefined register %s"
    [all...]
  /src/bin/expr/
expr.y 306 char errbuf[256];
307 (void)regerror(rc, &rp, errbuf, sizeof(errbuf));
308 yyerror("%s", errbuf);
  /src/usr.sbin/npf/npfd/
npfd_log.c 247 char errbuf[PCAP_ERRBUF_SIZE]; local in function:npfd_log_pcap_reopen
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/sys/kern/
subr_tftproot.c 396 char errbuf[SEGSIZE + 1]; local in function:tftproot_recv
402 errbuf[i] = '\0';
405 errbuf[i] = tftp->th_data[i];
407 errbuf[SEGSIZE] = '\0';
410 ntohs(tftp->th_code), errbuf);
  /src/libexec/ftpd/
conf.c 143 char *endp, errbuf[100]; local in function:parse_conf
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...]
ftpcmd.y 608 char errbuf[100];
616 : LLTMAX, errbuf, sizeof(errbuf));
617 if (errbuf[0])
618 reply(501, "%s", errbuf);
640 char errbuf[100];
648 : LLTMAX, errbuf, sizeof(errbuf));
649 if (errbuf[0])
650 reply(501, "%s", errbuf);
    [all...]
  /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
kvm.c 89 return (kd->errbuf);
115 (void)vsnprintf(kd->errbuf,
116 sizeof(kd->errbuf), fmt, ap);
133 char *cp = kd->errbuf;
135 (void)vsnprintf(cp, sizeof(kd->errbuf), fmt, ap);
137 (void)snprintf(&cp[n], sizeof(kd->errbuf) - n, ": %s",
281 kd->errbuf[0] = '\0';
409 (void)strlcpy(errout, kd->errbuf, _POSIX2_LINE_MAX);
  /src/usr.bin/pmap/
main.c 118 char errbuf[_POSIX2_LINE_MAX + 1]; local in function:main
250 kd = kvm_openfiles(kernel, kmem, NULL, O_RDONLY, errbuf);
258 errbuf[_POSIX2_LINE_MAX] = '\0';
260 errx(1, "%s", errbuf);
  /src/usr.bin/systat/
main.c 99 char errbuf[_POSIX2_LINE_MAX]; local in function:main
182 kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf);
184 errx(EXIT_FAILURE, "%s", errbuf);
  /src/lib/libpam/modules/pam_unix/
pam_unix.c 359 char errbuf[200]; local in function:local_set_password
381 if (pw_copyx(pfd, tfd, pwd, opwd, errbuf, sizeof(errbuf)) == 0) {
383 errbuf);
  /src/sys/arch/atari/stand/installboot/
installboot.c 200 char errbuf[_POSIX2_LINE_MAX]; local in function:oscheck
209 kd_kern = kvm_openfiles(NULL, NULL, NULL, O_RDONLY, errbuf);
211 errx(EXIT_FAILURE, "kvm_openfiles: %s", errbuf);
  /src/usr.bin/nfsstat/
nfsstat.c 117 char errbuf[_POSIX2_LINE_MAX]; local in function:main
160 if ((kd = kvm_openfiles(nlistf, memf, NULL, O_RDONLY, errbuf))
162 errx(1, "kvm_openfiles: %s", errbuf);
  /src/usr.sbin/trpt/
trpt.c 156 char *kernel, *core, *cp, errbuf[_POSIX2_LINE_MAX]; local in function:main
222 kd = kvm_openfiles(kernel, core, NULL, O_RDONLY, errbuf);
224 errx(1, "can't open kmem: %s", errbuf);
  /src/usr.bin/m4/
gnum4.c 257 char *errbuf; local in function:exit_regerror
260 errbuf = xalloc(errlen,
262 regerror(er, re, errbuf, errlen);
263 m4errx(1, "regular expression error: %s for: `%s'", errbuf, pat);
  /src/usr.sbin/kgmon/
kgmon.c 203 char errbuf[_POSIX2_LINE_MAX]; local in function:openfiles
223 kvp->kd = kvm_openfiles(sys, kmemf, NULL, openmode, errbuf);
228 errbuf);
231 errx(EXIT_FAILURE, "kvm_openfiles: %s", errbuf);

Completed in 25 milliseconds

1 2