[PATCH] usb: libusual kthread_run() called with wrong format.

Rusty Russell <[email protected]> Mon, 21 Apr 2008 06:38:34 +1000
Newsgroups gmane.linux.kernel,gmane.linux.usb.devel
Message-ID <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
---
 drivers/usb/storage/libusual.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -r bf2ff23fda93 drivers/usb/storage/libusual.c
--- a/drivers/usb/storage/libusual.c	Mon Apr 07 17:07:09 2008 +1000
+++ b/drivers/usb/storage/libusual.c	Mon Apr 07 17:30:33 2008 +1000
@@ -134,7 +134,7 @@ static int usu_probe(struct usb_interfac
 	stat[type].fls |= USU_MOD_FL_THREAD;
 	spin_unlock_irqrestore(&usu_lock, flags);
 
-	task = kthread_run(usu_probe_thread, (void*)type, "libusual_%d", type);
+	task = kthread_run(usu_probe_thread, (void*)type, "libusual_%ld", type);
 	if (IS_ERR(task)) {
 		rc = PTR_ERR(task);
 		printk(KERN_WARNING "libusual: "