Lines Matching defs:errstr
204 const char *errstr;
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;
670 errstr = str2locator(arg, location);
671 if (errstr)
672 errx(EXIT_FAILURE, "Target %s: %s", arg, errstr);
697 const char *errstr;
747 errstr = str2locator(scsiname, &location);
748 if (errstr)
749 errx(EXIT_FAILURE, "Target %s: %s", scsiname, errstr);
901 const char *errstr;
915 errstr = str2locator(argv[2], &location);
916 if (errstr)
917 errx(EXIT_FAILURE, "Target %s: %s", argv[2], errstr);
941 const char *errstr;
954 errstr = str2locator(argv[1], &location);
955 if (errstr)
956 errx(EXIT_FAILURE, "Target %s: %s", argv[1], errstr);