HomeSort by: relevance | last modified time | path
    Searched defs:errstr (Results 1 - 25 of 42) sorted by relevancy

1 2

  /src/usr.sbin/ypserv/yppush/
yppush_err.c 48 static char errstr[64]; local in function:yppush_err_string
100 memset(errstr, 0, sizeof(errstr));
101 snprintf(errstr, sizeof(errstr), "unknown error code: %d", y);
102 return errstr;
yppush_err.c 48 static char errstr[64]; local in function:yppush_err_string
100 memset(errstr, 0, sizeof(errstr));
101 snprintf(errstr, sizeof(errstr), "unknown error code: %d", y);
102 return errstr;
  /src/usr.bin/m4/lib/
strtonum.c 43 const char *errstr; member in struct:strtonum::errval
66 *errstrp = ev[error].errstr;
strtonum.c 43 const char *errstr; member in struct:strtonum::errval
66 *errstrp = ev[error].errstr;
  /src/usr.sbin/autofs/
log.c 97 char *errstr; local in function:log_common
132 errstr = strerror(log_errno);
136 peer_addr, peer_name, msgbuf_strvised, errstr);
138 peer_addr, peer_name, msgbuf_strvised, errstr);
141 peer_addr, msgbuf_strvised, errstr);
143 peer_addr, msgbuf_strvised, errstr);
146 msgbuf_strvised, errstr);
148 msgbuf_strvised, errstr);
log.c 97 char *errstr; local in function:log_common
132 errstr = strerror(log_errno);
136 peer_addr, peer_name, msgbuf_strvised, errstr);
138 peer_addr, peer_name, msgbuf_strvised, errstr);
141 peer_addr, msgbuf_strvised, errstr);
143 peer_addr, msgbuf_strvised, errstr);
146 msgbuf_strvised, errstr);
148 msgbuf_strvised, errstr);
  /src/sys/arch/usermode/usermode/
syscall.c 218 char const *errstr; local in function:syscall_retvals_print
223 errstr = "EJUSTRETURN";
226 errstr = "EGAIN";
229 errstr = "OK";
233 errstr, error, (uint) (rval[0]), (uint) (rval[1]));
syscall.c 218 char const *errstr; local in function:syscall_retvals_print
223 errstr = "EJUSTRETURN";
226 errstr = "EGAIN";
229 errstr = "OK";
233 errstr, error, (uint) (rval[0]), (uint) (rval[1]));
  /src/dist/pf/sbin/pfctl/
pfctl_table.c 258 const char *errstr = NULL; /* XXX gcc */ local in function:pfctl_table
265 lifetime = strtonum(*argv, 0, UINT_MAX, &errstr);
266 if (errstr)
267 errx(1, "expiry time: %s", errstr);
pfctl_table.c 258 const char *errstr = NULL; /* XXX gcc */ local in function:pfctl_table
265 lifetime = strtonum(*argv, 0, UINT_MAX, &errstr);
266 if (errstr)
267 errx(1, "expiry time: %s", errstr);
  /src/sys/arch/i386/pci/
pcibios.c 421 const char *errstr; local in function:pcibios_return_code
429 errstr = "service not present";
433 errstr = "function not supported";
437 errstr = "bad vendor ID";
441 errstr = "device not found";
445 errstr = "bad register number";
449 errstr = "set failed";
453 errstr = "buffer too small";
461 aprint_error("%s: %s\n", func, errstr);
pcibios.c 421 const char *errstr; local in function:pcibios_return_code
429 errstr = "service not present";
433 errstr = "function not supported";
437 errstr = "bad vendor ID";
441 errstr = "device not found";
445 errstr = "bad register number";
449 errstr = "set failed";
453 errstr = "buffer too small";
461 aprint_error("%s: %s\n", func, errstr);
  /src/usr.sbin/gpioctl/
gpioctl.c 87 const char *errstr; local in function:main
140 ga_offset = strtonum(offset, 0, INT_MAX, &errstr);
141 if (errstr)
142 errx(EXIT_FAILURE, "offset is %s: %s", errstr, offset);
171 pin = strtonum(argv[1], 0, INT_MAX, &errstr);
172 if (errstr)
193 &errstr);
194 if (errstr) {
gpioctl.c 87 const char *errstr; local in function:main
140 ga_offset = strtonum(offset, 0, INT_MAX, &errstr);
141 if (errstr)
142 errx(EXIT_FAILURE, "offset is %s: %s", errstr, offset);
171 pin = strtonum(argv[1], 0, INT_MAX, &errstr);
172 if (errstr)
193 &errstr);
194 if (errstr) {
  /src/usr.sbin/sysinst/
run.c 410 const char *scmd, const char **errstr)
426 *errstr = "openpty() failed";
461 *errstr = "fork() failed";
601 *errstr = msg_string(MSG_Command_failed);
605 *errstr = msg_string(MSG_Command_ended_on_signal);
636 const char *errstr = NULL; local in function:run_program
673 ret = launch_subwin(&actionwin, args, &win, flags, scmd, &errstr);
690 addstr(errstr);
726 if (errstr == 0 || !(flags & RUN_NO_CLEAR)) {
run.c 410 const char *scmd, const char **errstr)
426 *errstr = "openpty() failed";
461 *errstr = "fork() failed";
601 *errstr = msg_string(MSG_Command_failed);
605 *errstr = msg_string(MSG_Command_ended_on_signal);
636 const char *errstr = NULL; local in function:run_program
673 ret = launch_subwin(&actionwin, args, &win, flags, scmd, &errstr);
690 addstr(errstr);
726 if (errstr == 0 || !(flags & RUN_NO_CLEAR)) {
  /src/sys/dev/i2o/
ld_iop.c 492 const char *errstr; local in function:ld_iop_intr
504 errstr = "<unknown>";
506 errstr = ld_iop_errors[detail];
507 aprint_error_dev(dv, "error 0x%04x: %s\n", detail, errstr);
ld_iop.c 492 const char *errstr; local in function:ld_iop_intr
504 errstr = "<unknown>";
506 errstr = ld_iop_errors[detail];
507 aprint_error_dev(dv, "error 0x%04x: %s\n", detail, errstr);
  /src/sys/arch/mips/mips/
mips_fixup.c 302 const char *errstr = "mips"; local in function:mips_fixup_addr
326 errstr = "LD";
335 errstr = "SD";
342 errstr = "LW";
352 errstr = "SW";
359 errstr = "ORI";
369 errstr = "dmtc0 dst";
373 errstr = "dmtc0 src";
378 errstr = "COP0";
385 errstr = "JAL-non-_mcount"
    [all...]
mips_fixup.c 302 const char *errstr = "mips"; local in function:mips_fixup_addr
326 errstr = "LD";
335 errstr = "SD";
342 errstr = "LW";
352 errstr = "SW";
359 errstr = "ORI";
369 errstr = "dmtc0 dst";
373 errstr = "dmtc0 src";
378 errstr = "COP0";
385 errstr = "JAL-non-_mcount"
    [all...]
  /src/usr.bin/sdiff/
sdiff.c 183 const char *errstr; local in function:main
236 INT_MAX, &errstr);
237 if (errstr)
238 errx(2, "width is %s: %s", errstr, optarg);
573 const char *errstr; local in function:parsecmd
586 file1start = strtonum(line, 0, INT_MAX, &errstr);
587 if (errstr)
588 errx(2, "file1 start is %s: %s", errstr, line);
599 file1end = strtonum(q, 0, INT_MAX, &errstr);
600 if (errstr)
    [all...]
sdiff.c 183 const char *errstr; local in function:main
236 INT_MAX, &errstr);
237 if (errstr)
238 errx(2, "width is %s: %s", errstr, optarg);
573 const char *errstr; local in function:parsecmd
586 file1start = strtonum(line, 0, INT_MAX, &errstr);
587 if (errstr)
588 errx(2, "file1 start is %s: %s", errstr, line);
599 file1end = strtonum(q, 0, INT_MAX, &errstr);
600 if (errstr)
    [all...]
  /src/sbin/bioctl/
bioctl.c 204 const char *errstr; local in function:str2locator
216 location->lun = strtonum(lun, 0, 256, &errstr);
217 if (errstr)
218 return errstr;
222 location->target = strtonum(targ, 0, 256, &errstr);
223 if (errstr)
224 return errstr;
225 location->channel = strtonum(parse, 0, 256, &errstr);
226 if (errstr)
227 return errstr;
665 const char *errstr; local in function:bio_setstate_common
697 const char *errstr; local in function:bio_volops_create
901 const char *errstr; local in function:bio_volops_remove
941 const char *errstr; local in function:bio_setblink
    [all...]
bioctl.c 204 const char *errstr; local in function:str2locator
216 location->lun = strtonum(lun, 0, 256, &errstr);
217 if (errstr)
218 return errstr;
222 location->target = strtonum(targ, 0, 256, &errstr);
223 if (errstr)
224 return errstr;
225 location->channel = strtonum(parse, 0, 256, &errstr);
226 if (errstr)
227 return errstr;
665 const char *errstr; local in function:bio_setstate_common
697 const char *errstr; local in function:bio_volops_create
901 const char *errstr; local in function:bio_volops_remove
941 const char *errstr; local in function:bio_setblink
    [all...]
  /src/dist/pf/sbin/pflogd/
pflogd.c 627 const char *errstr = NULL; local in function:main
640 delay = strtonum(optarg, 5, 60*60, &errstr);
641 if (errstr)
655 &errstr);
658 if (errstr)

Completed in 34 milliseconds

1 2