Home | History | Annotate | Download | only in toolbox

Lines Matching refs:bname

260     const char *fname, *dtype, *bname;
494 bname = NULL;
497 bname = opt_B;
498 if (!strchr(bname, '/')) {
499 snprintf(buf, sizeof(buf), "/boot/%s", bname);
500 if (!(bname = strdup(buf)))
503 if ((fd1 = open(bname, O_RDONLY)) == -1 || fstat(fd1, &sb))
504 err(1, "%s", bname);
507 errx(1, "%s: inappropriate file type or format", bname);
649 err(1, "%s", bname);
653 err(1, "%s", bname);
655 errx(1, "%s: can't read sector %u", bname, x);