Lines Matching refs:pbuf
316 char pbuf[MAXPATHLEN]; in open_cur_file() local
320 (void) get_pname(&pbuf[0]); in open_cur_file()
321 dkpath = pbuf; in open_cur_file()
326 (void) get_sname(&pbuf[0]); in open_cur_file()
327 dkpath = pbuf; in open_cur_file()
359 char pbuf[MAXPATHLEN]; in c_fdisk() local
383 (void) get_pname(&pbuf[0]); in c_fdisk()
384 if (stat(pbuf, (struct stat *)&statbuf) == -1 || in c_fdisk()
394 (void) snprintf(buf, sizeof (buf), "fdisk %s\n", pbuf); in c_fdisk()
840 char pbuf[MAXPATHLEN]; local
847 (void) get_pname(&pbuf[0]);
848 if ((fd = open_disk(pbuf, O_RDONLY)) < 0) {
849 err_print("Error: can't open selected disk '%s'.\n", pbuf);