summaryrefslogtreecommitdiffstats
path: root/source/compiler/aslstartup.c
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2012-09-14 22:53:11 +0000
committerjkim <jkim@FreeBSD.org>2012-09-14 22:53:11 +0000
commitda9b951a892d96e0521abeec09d4345ddf04ab8d (patch)
tree033c7834a7ab5fe0b48b11ac066372bfd32f2c22 /source/compiler/aslstartup.c
parent08e6f22ac3350a67c38e9b42b5dce2a7d5fa08b4 (diff)
downloadFreeBSD-src-da9b951a892d96e0521abeec09d4345ddf04ab8d.zip
FreeBSD-src-da9b951a892d96e0521abeec09d4345ddf04ab8d.tar.gz
Import ACPICA 20120913.
Diffstat (limited to 'source/compiler/aslstartup.c')
-rw-r--r--source/compiler/aslstartup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/compiler/aslstartup.c b/source/compiler/aslstartup.c
index a302164..1f51c71 100644
--- a/source/compiler/aslstartup.c
+++ b/source/compiler/aslstartup.c
@@ -239,7 +239,7 @@ AslDetectSourceFileType (
* File is ASCII. Determine if this is an ASL file or an ACPI data
* table file.
*/
- while (fgets (Gbl_CurrentLineBuffer, ASL_LINE_BUFFER_SIZE, Info->Handle))
+ while (fgets (Gbl_CurrentLineBuffer, Gbl_LineBufferSize, Info->Handle))
{
/* Uppercase the buffer for caseless compare */
OpenPOWER on IntegriCloud