Searched refs:fdisk_buf (Results 1 – 1 of 1) sorted by relevance
1329 char *fdisk_buf; in write_default_label() local1366 fdisk_buf = (char *)malloc(blocksize); in write_default_label()1367 if (fdisk_buf == NULL) { in write_default_label()1401 (void) memcpy(fdisk_buf, &boot_code, sizeof (boot_code)); in write_default_label()1406 ret = ioctl(fd, DKIOCSMBOOT, fdisk_buf); in write_default_label()1421 fdisk_buf, blocksize); in write_default_label()1434 ret = write(fd, fdisk_buf, blocksize); in write_default_label()