Lines Matching refs:pbuf
318 char pbuf[MAXPATHLEN]; in open_cur_file() local
322 (void) get_pname(&pbuf[0]); in open_cur_file()
323 dkpath = pbuf; in open_cur_file()
328 (void) get_sname(&pbuf[0]); in open_cur_file()
329 dkpath = pbuf; in open_cur_file()
361 char pbuf[MAXPATHLEN]; in c_fdisk() local
385 (void) get_pname(&pbuf[0]); in c_fdisk()
386 if (stat(pbuf, (struct stat *)&statbuf) == -1 || in c_fdisk()
396 (void) snprintf(buf, sizeof (buf), "fdisk %s\n", pbuf); in c_fdisk()
842 char pbuf[MAXPATHLEN]; local
849 (void) get_pname(&pbuf[0]);
850 if ((fd = open_disk(pbuf, O_RDONLY)) < 0) {
851 err_print("Error: can't open selected disk '%s'.\n", pbuf);