diff options
author | njl <njl@FreeBSD.org> | 2003-12-09 03:11:40 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2003-12-09 03:11:40 +0000 |
commit | 55f060d610578984cb21903df0497679484af820 (patch) | |
tree | e56a99e0cb8ee5b9b41c364ce53827b3c7e0c0ba /sys/contrib/dev/acpica/compiler/aslutils.c | |
parent | 643a95526f8f4619a61b6b38f2bc847271a3b06e (diff) | |
download | FreeBSD-src-55f060d610578984cb21903df0497679484af820.zip FreeBSD-src-55f060d610578984cb21903df0497679484af820.tar.gz |
Fix an off-by-one in the compiler path. Originally from iwasaki-san's
patches for the pmtools port.
Diffstat (limited to 'sys/contrib/dev/acpica/compiler/aslutils.c')
-rw-r--r-- | sys/contrib/dev/acpica/compiler/aslutils.c | 2 |
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 0583d1b..18d0ec8 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 |