diff options
| author | Andrey V. Elsukov <ae@FreeBSD.org> | 2012-08-16 06:45:58 +0000 |
|---|---|---|
| committer | Andrey V. Elsukov <ae@FreeBSD.org> | 2012-08-16 06:45:58 +0000 |
| commit | a05f1f202819edfb1ff86c9018ce0d1106e5b4eb (patch) | |
| tree | 6f564e696b54d07d6dbe8c1f027748c40ae97f01 /sys/boot | |
| parent | 06832193b816e975cef3436bf281029429090857 (diff) | |
Notes
Diffstat (limited to 'sys/boot')
| -rw-r--r-- | sys/boot/common/part.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/common/part.c b/sys/boot/common/part.c index 28c8b7901ac7..9a30df84f848 100644 --- a/sys/boot/common/part.c +++ b/sys/boot/common/part.c @@ -372,7 +372,7 @@ ptable_ebrread(struct ptable *table, void *dev, diskread_t dread) if (buf == NULL) return (table); for (i = 0; i < MAXEBRENTRIES; i++) { -#if 0 +#if 0 /* Some BIOSes return an incorrect number of sectors */ if (offset >= table->sectors) break; #endif @@ -665,7 +665,7 @@ ptable_open(void *dev, off_t sectors, uint16_t sectorsize, end = le32toh(dp[i].dp_size); if (start == 0 || end == 0) continue; -#if 0 +#if 0 /* Some BIOSes return an incorrect number of sectors */ if (start + end - 1 >= sectors) continue; /* XXX: ignore */ #endif |
