diff options
author | njl <njl@FreeBSD.org> | 2004-02-28 20:42:10 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2004-02-28 20:42:10 +0000 |
commit | c28477961877d180eeb925f436c99af4747204c2 (patch) | |
tree | 43ed49528a678cdffccbce6ef45a5da77321d0ca /sys/contrib/dev/acpica/compiler | |
parent | 4335e07b6601dee959fdc8ee35b4cd21f3171c81 (diff) | |
download | FreeBSD-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/dev/acpica/compiler')
-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 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 |