Lines Matching refs:pbuf
315 char pbuf[MAXPATHLEN]; in open_cur_file() local
319 (void) get_pname(&pbuf[0]); in open_cur_file()
320 dkpath = pbuf; in open_cur_file()
325 (void) get_sname(&pbuf[0]); in open_cur_file()
326 dkpath = pbuf; in open_cur_file()
358 char pbuf[MAXPATHLEN]; in c_fdisk() local
382 (void) get_pname(&pbuf[0]); in c_fdisk()
383 if (stat(pbuf, (struct stat *)&statbuf) == -1 || in c_fdisk()
393 (void) snprintf(buf, sizeof (buf), "fdisk %s\n", pbuf); in c_fdisk()
829 char pbuf[MAXPATHLEN]; local
836 (void) get_pname(&pbuf[0]);
837 if ((fd = open_disk(pbuf, O_RDONLY)) < 0) {
838 err_print("Error: can't open selected disk '%s'.\n", pbuf);