summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/acpi/globutil.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/acpi/globutil.asl b/src/arch/x86/acpi/globutil.asl
index 2600d0b5eb..25feaeac5c 100644
--- a/src/arch/x86/acpi/globutil.asl
+++ b/src/arch/x86/acpi/globutil.asl
@@ -24,7 +24,7 @@ Method(SLEN, 1)
Method(S2BF, 1, Serialized)
{
- Add(SLEN(Arg0), One, Local0)
+ Local0 = SLEN(Arg0) + 1
Name(BUFF, Buffer(Local0) {})
Store(Arg0, BUFF)
Return(BUFF)