ACPI: dock: fix build warning
authorLen Brown <len.brown@intel.com>
Thu, 7 Dec 2006 09:17:35 +0000 (04:17 -0500)
committerLen Brown <len.brown@intel.com>
Thu, 7 Dec 2006 09:17:35 +0000 (04:17 -0500)
drivers/acpi/dock.c:689: warning: too many arguments for format

Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/dock.c

index 336d94cdf2a016f2ca61759d7433c052503883f2..2c2f28db9fb248af0ffe9c983698c726cb8b13d3 100644 (file)
@@ -636,7 +636,7 @@ static int dock_add(acpi_handle handle)
        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;
        }