diff options
| author | Rui Paulo <rpaulo@FreeBSD.org> | 2009-06-26 09:32:31 +0000 |
|---|---|---|
| committer | Rui Paulo <rpaulo@FreeBSD.org> | 2009-06-26 09:32:31 +0000 |
| commit | 1e5fd3f467f236685baeb2b88c32da941e63267f (patch) | |
| tree | 50de61194a71407c73b4d3de28dd46a2b22e6bc2 /sys | |
| parent | c1733818817daa97d8cc66f9d0dc6ba7f6fd6a0b (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/boot/i386/libi386/biosdisk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/i386/libi386/biosdisk.c b/sys/boot/i386/libi386/biosdisk.c index b49d4e6ec855..7e1fa19369d0 100644 --- a/sys/boot/i386/libi386/biosdisk.c +++ b/sys/boot/i386/libi386/biosdisk.c @@ -880,7 +880,7 @@ bd_open_gpt(struct open_disk *od, struct i386_devdesc *dev) for (i = 0; i < NDOSPART; i++) { if (dp[i].dp_typ == 0xee) part++; - else if (dp[i].dp_typ != 0x00) + else if ((part != 1) && (dp[i].dp_typ != 0x00)) return (EINVAL); } if (part != 1) |
