Lines Matching refs:bname
256 const char *bname; in mkfs_msdos() local
433 bname = NULL; in mkfs_msdos()
436 bname = o.bootstrap; in mkfs_msdos()
437 if (!strchr(bname, '/')) { in mkfs_msdos()
438 snprintf(buf, sizeof(buf), "/boot/%s", bname); in mkfs_msdos()
439 if (!(bname = strdup(buf))) { in mkfs_msdos()
444 if ((fd1 = open(bname, O_RDONLY)) == -1 || fstat(fd1, &sb)) { in mkfs_msdos()
445 warn("%s", bname); in mkfs_msdos()
451 warnx("%s: inappropriate file type or format", bname); in mkfs_msdos()
658 warn("%s", bname); in mkfs_msdos()
664 warn("%s", bname); in mkfs_msdos()
668 warnx("%s: can't read sector %u", bname, x); in mkfs_msdos()