summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpica/nsnames.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2009-04-22 08:52:51 +0400
committerLen Brown <len.brown@intel.com>2009-05-27 08:30:49 +0400
commitb21245a85e62ea7eeb5b7562ce98cf8b0aecbd26 (patch)
tree12923309b7b9fa2201bbaffcd1f254c2faa6a98d /drivers/acpi/acpica/nsnames.c
parent35d7c1cfe5262480d3d8e6ccd7e4caf3a9c8ab39 (diff)
downloadlinux-b21245a85e62ea7eeb5b7562ce98cf8b0aecbd26.tar.xz
ACPICA: Fix printf format warnings for 64-bit build
Fix warnings caused by size_t and ACPI_SIZE changing to 64 bits. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/nsnames.c')
-rw-r--r--drivers/acpi/acpica/nsnames.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/nsnames.c b/drivers/acpi/acpica/nsnames.c
index ae3dc10a7e81..af8e6bcee07e 100644
--- a/drivers/acpi/acpica/nsnames.c
+++ b/drivers/acpi/acpica/nsnames.c
@@ -149,7 +149,7 @@ char *acpi_ns_get_external_pathname(struct acpi_namespace_node *node)
name_buffer = ACPI_ALLOCATE_ZEROED(size);
if (!name_buffer) {
- ACPI_ERROR((AE_INFO, "Allocation failure"));
+ ACPI_ERROR((AE_INFO, "Could not allocate %u bytes", (u32)size));
return_PTR(NULL);
}