Home | History | Annotate | Download | only in toolbox

Lines Matching refs:bname

268     const char *fname, *dtype, *bname;
496 bname = NULL;
499 bname = opt_B;
500 if (!strchr(bname, '/')) {
501 snprintf(buf, sizeof(buf), "/boot/%s", bname);
502 if (!(bname = strdup(buf)))
505 if ((fd1 = open(bname, O_RDONLY)) == -1 || fstat(fd1, &sb))
506 err(1, "%s", bname);
509 errx(1, "%s: inappropriate file type or format", bname);
630 err(1, "%s", bname);
634 err(1, "%s", bname);
636 errx(1, "%s: can't read sector %u", bname, x);