summaryrefslogtreecommitdiffstats
path: root/sys/contrib
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2004-02-28 20:42:10 +0000
committernjl <njl@FreeBSD.org>2004-02-28 20:42:10 +0000
commitc28477961877d180eeb925f436c99af4747204c2 (patch)
tree43ed49528a678cdffccbce6ef45a5da77321d0ca /sys/contrib
parent4335e07b6601dee959fdc8ee35b4cd21f3171c81 (diff)
downloadFreeBSD-src-c28477961877d180eeb925f436c99af4747204c2.zip
FreeBSD-src-c28477961877d180eeb925f436c99af4747204c2.tar.gz
Fix an off-by-one in the compiler path. Originally from iwasaki-san's
patches for the pmtools port. This change has been submitted to Intel.
Diffstat (limited to 'sys/contrib')
-rw-r--r--sys/contrib/dev/acpica/compiler/aslutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/contrib/dev/acpica/compiler/aslutils.c b/sys/contrib/dev/acpica/compiler/aslutils.c
index 2bbc270..a33a904 100644
--- a/sys/contrib/dev/acpica/compiler/aslutils.c
+++ b/sys/contrib/dev/acpica/compiler/aslutils.c
@@ -126,7 +126,7 @@
#ifdef _USE_BERKELEY_YACC
extern const char * const AslCompilername[];
-static const char * const *yytname = &AslCompilername[255];
+static const char * const *yytname = &AslCompilername[254];
#else
extern const char * const yytname[];
#endif
OpenPOWER on IntegriCloud