Lines Matching defs:bname
258 const char *fname, *dtype, *bname;
482 bname = NULL;
485 bname = opt_B;
486 if (!strchr(bname, '/')) {
487 snprintf(buf, sizeof(buf), "/boot/%s", bname);
488 if (!(bname = strdup(buf)))
491 if ((fd1 = open(bname, O_RDONLY)) == -1 || fstat(fd1, &sb))
492 err(1, "%s", bname);
496 errx(1, "%s: inappropriate file type or format", bname);
642 err(1, "%s", bname);
646 err(1, "%s", bname);
648 errx(1, "%s: can't read sector %u", bname, x);