From 85e2b6f0159715d876c896de532ac78625d7136c Mon Sep 17 00:00:00 2001 From: Robert Moore Date: Fri, 13 Apr 2012 14:16:56 -0700 Subject: [PATCH] Fix object size problem with allocation tracker object dump. Code that posts additional info about various object during the dump of outstanding allocations had incorrect object sizes. This fix corrects the three incorrect cases. --- source/components/utilities/uttrack.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/components/utilities/uttrack.c b/source/components/utilities/uttrack.c index 7f2311a42..3d73fc5cd 100644 --- a/source/components/utilities/uttrack.c +++ b/source/components/utilities/uttrack.c @@ -705,21 +705,21 @@ AcpiUtDumpAllocations ( switch (ACPI_GET_DESCRIPTOR_TYPE (Descriptor)) { case ACPI_DESC_TYPE_OPERAND: - if (Element->Size == sizeof (ACPI_DESC_TYPE_OPERAND)) + if (Element->Size == sizeof (ACPI_OPERAND_OBJECT)) { DescriptorType = ACPI_DESC_TYPE_OPERAND; } break; case ACPI_DESC_TYPE_PARSER: - if (Element->Size == sizeof (ACPI_DESC_TYPE_PARSER)) + if (Element->Size == sizeof (ACPI_PARSE_OBJECT)) { DescriptorType = ACPI_DESC_TYPE_PARSER; } break; case ACPI_DESC_TYPE_NAMED: - if (Element->Size == sizeof (ACPI_DESC_TYPE_NAMED)) + if (Element->Size == sizeof (ACPI_NAMESPACE_NODE)) { DescriptorType = ACPI_DESC_TYPE_NAMED; }