ACPI: dock: fix build warning
drivers/acpi/dock.c:689: warning: too many arguments for format
Signed-off-by: Len Brown <len.brown@intel.com>
diff --git a/drivers/acpi/dock.c b/drivers/acpi/dock.c
index 336d94c..2c2f28d 100644
--- a/drivers/acpi/dock.c
+++ b/drivers/acpi/dock.c
@@ -636,7 +636,7 @@
dock_device.name = dock_device_name;
ret = platform_device_register(&dock_device);
if (ret) {
- printk(KERN_ERR PREFIX "Error registering dock device\n", ret);
+ printk(KERN_ERR PREFIX "Error %d registering dock device\n", ret);
kfree(dock_station);
return ret;
}