diff options
| -rw-r--r-- | usr/src/cmd/boot/installgrub/installgrub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/cmd/boot/installgrub/installgrub.c b/usr/src/cmd/boot/installgrub/installgrub.c index 9d95b37274..09c03fd1f4 100644 --- a/usr/src/cmd/boot/installgrub/installgrub.c +++ b/usr/src/cmd/boot/installgrub/installgrub.c @@ -741,8 +741,8 @@ get_start_sector(ig_device_t *device) device->start_sector = vtoc->efi_parts[device->slice].p_start; /* GPT doesn't use traditional slice letters */ + device->partition = device->slice; device->slice = 0xff; - device->partition = 0; efi_free(vtoc); goto found_part; |
