From: akpm@osdl.org Date: Fri, 30 Jun 2006 07:15:00 +0000 (-0400) Subject: ACPI: fixup memhotplug debug message X-Git-Tag: v2.6.18-rc1~257^2~2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a1f1ab8de815cb63a48d24450f6b5fbb1b1f89c;p=linux-2.6 ACPI: fixup memhotplug debug message Signed-off-by: Andrew Morton Signed-off-by: Len Brown --- diff --git a/drivers/acpi/acpi_memhotplug.c b/drivers/acpi/acpi_memhotplug.c index 6f5e395c78..cd57372a67 100644 --- a/drivers/acpi/acpi_memhotplug.c +++ b/drivers/acpi/acpi_memhotplug.c @@ -248,7 +248,7 @@ static int acpi_memory_enable_device(struct acpi_memory_device *mem_device) num_enabled++; } if (!num_enabled) { - ACPI_DEBUG_PRINT((ACPI_DB_ERROR, "\nadd_memory failed\n")); + printk(KERN_ERR PREFIX "add_memory failed\n"); mem_device->state = MEMORY_INVALID_STATE; return -EINVAL; }