Searched refs:bname (Results 1 – 1 of 1) sorted by relevance
/system/core/toolbox/ |
D | newfs_msdos.c | 260 const char *fname, *dtype, *bname; in newfs_msdos_main() local 494 bname = NULL; in newfs_msdos_main() 497 bname = opt_B; in newfs_msdos_main() 498 if (!strchr(bname, '/')) { in newfs_msdos_main() 499 snprintf(buf, sizeof(buf), "/boot/%s", bname); in newfs_msdos_main() 500 if (!(bname = strdup(buf))) in newfs_msdos_main() 503 if ((fd1 = open(bname, O_RDONLY)) == -1 || fstat(fd1, &sb)) in newfs_msdos_main() 504 err(1, "%s", bname); in newfs_msdos_main() 507 errx(1, "%s: inappropriate file type or format", bname); in newfs_msdos_main() 649 err(1, "%s", bname); in newfs_msdos_main() [all …]
|