Mercurial > illumos > illumos-gate
changeset 10015:0bf0ddae6058
6855509 fdisk fails to modify partition with -F, with existing partition in last table entry at end of disk
author | Barry Harding <Barry.Harding@Sun.COM> |
---|---|
date | Wed, 01 Jul 2009 16:23:05 -0700 |
parents | dab5af34d388 |
children | f517d06e1c5e |
files | usr/src/cmd/fdisk/fdisk.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/cmd/fdisk/fdisk.c Wed Jul 01 16:54:27 2009 -0600 +++ b/usr/src/cmd/fdisk/fdisk.c Wed Jul 01 16:23:05 2009 -0700 @@ -1734,7 +1734,7 @@ if (id == SUNIXOS || id == SUNIXOS2) return (0); - for (i = 0; i < FD_NUMPART - 1; i++) { + for (i = 0; i < FD_NUMPART; i++) { if (Old_Table[i].systid == id && Old_Table[i].bootid == act && Old_Table[i].beghead == bhead &&