[ARM] ecard: silence new warning caused by previous commit
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Thu, 3 May 2007 09:55:46 +0000 (10:55 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 3 May 2007 13:16:56 +0000 (14:16 +0100)
PTR_ERR()'s type is unsigned long, so formats when printing
must be %ld, not %d.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/ecard.c

index 869de6d3ad531ea3c0a725e6d34b5420fa3caff7..64d5ba1a1337627559f9f9686894a82c03e920c9 100644 (file)
@@ -1063,7 +1063,7 @@ static int __init ecard_init(void)
 
        task = kthread_run(ecard_task, NULL, "kecardd");
        if (IS_ERR(task)) {
-               printk(KERN_ERR "Ecard: unable to create kernel thread: %d\n",
+               printk(KERN_ERR "Ecard: unable to create kernel thread: %ld\n",
                       PTR_ERR(task));
                return PTR_ERR(task);
        }