From 2d82041b2954a44f3daa47dccb14bfe5b3453392 Mon Sep 17 00:00:00 2001 From: Robert Moore Date: Wed, 16 Jan 2013 09:16:22 -0800 Subject: [PATCH] Remove some extraneous newlines in ACPI_ERROR type calls.. These macros/functions automatically insert a newline, so the format string should not contain a newline at the end. (This allows these functions to add information to the end of the output line.) --- source/components/dispatcher/dsobject.c | 2 +- source/components/dispatcher/dswload2.c | 2 +- source/components/hardware/hwgpe.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/components/dispatcher/dsobject.c b/source/components/dispatcher/dsobject.c index eb11571c8..5cfb3c04c 100644 --- a/source/components/dispatcher/dsobject.c +++ b/source/components/dispatcher/dsobject.c @@ -613,7 +613,7 @@ AcpiDsBuildInternalPackageObj ( } ACPI_INFO ((AE_INFO, - "Actual Package length (%u) is larger than NumElements field (%u), truncated\n", + "Actual Package length (%u) is larger than NumElements field (%u), truncated", i, ElementCount)); } else if (i < ElementCount) diff --git a/source/components/dispatcher/dswload2.c b/source/components/dispatcher/dswload2.c index d599b1b9b..88d89143a 100644 --- a/source/components/dispatcher/dswload2.c +++ b/source/components/dispatcher/dswload2.c @@ -308,7 +308,7 @@ AcpiDsLoad2BeginOp ( */ ACPI_WARNING ((AE_INFO, "Type override - [%4.4s] had invalid type (%s) " - "for Scope operator, changed to type ANY\n", + "for Scope operator, changed to type ANY", AcpiUtGetNodeName (Node), AcpiUtGetTypeName (Node->Type))); Node->Type = ACPI_TYPE_ANY; diff --git a/source/components/hardware/hwgpe.c b/source/components/hardware/hwgpe.c index 729f4441f..a15a811a8 100644 --- a/source/components/hardware/hwgpe.c +++ b/source/components/hardware/hwgpe.c @@ -222,7 +222,7 @@ AcpiHwLowSetGpe ( break; default: - ACPI_ERROR ((AE_INFO, "Invalid GPE Action, %u\n", Action)); + ACPI_ERROR ((AE_INFO, "Invalid GPE Action, %u", Action)); return (AE_BAD_PARAMETER); }