Searched refs:bname (Results 1 - 1 of 1) sorted by relevance

/system/core/toolbox/
H A Dnewfs_msdos.c268 const char *fname, *dtype, *bname; local
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);
[all...]

Completed in 4 milliseconds