diff options
author | marcel <marcel@FreeBSD.org> | 2002-11-24 20:07:23 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2002-11-24 20:07:23 +0000 |
commit | 3f1e360689c0c8121460a2e8043c6e572491d526 (patch) | |
tree | f1faef60f78425ed9d7b810c2af73b7679cc1c1a /sys/ia64 | |
parent | f935f7a83d4725997821bf35b34916a8ac68418e (diff) | |
download | FreeBSD-src-3f1e360689c0c8121460a2e8043c6e572491d526.zip FreeBSD-src-3f1e360689c0c8121460a2e8043c6e572491d526.tar.gz |
Fix comparison that caused a 1-off bug. This appeared harmless for
the kernel itself, but SAL on Itanium2 machines spontaneously
rebooted the machine.
Approved by: re (blanket)
Submitted by: Arun Sharma <adsharma@unix-os.sc.intel.com>
Diffstat (limited to 'sys/ia64')
-rw-r--r-- | sys/ia64/ia64/mca.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ia64/ia64/mca.c b/sys/ia64/ia64/mca.c index 9a7fed7..064e6f5 100644 --- a/sys/ia64/ia64/mca.c +++ b/sys/ia64/ia64/mca.c @@ -186,7 +186,7 @@ ia64_mca_init(void) * under unreliable conditions. */ max_size = 0; - for (i = 0; i <= SAL_INFO_TYPES; i++) { + for (i = 0; i < SAL_INFO_TYPES; i++) { result = ia64_sal_entry(SAL_GET_STATE_INFO_SIZE, i, 0, 0, 0, 0, 0, 0); if (result.sal_status == 0) { |