From: Masanari Iida Date: Mon, 14 Apr 2014 16:56:32 +0000 (+0900) Subject: staging: unisys: Fix format string mismatch in virthba.c X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5494f95bad1d7c7a238feee8e2bf5a6db8f9c54e;p=linux-beck.git staging: unisys: Fix format string mismatch in virthba.c Fix format string mismatch in info_proc_read() within virthba.c. Signed-off-by: Masanari Iida Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/virthba/virthba.c b/drivers/staging/unisys/virthba/virthba.c index 817b11dfa19c..cc8a032869ae 100644 --- a/drivers/staging/unisys/virthba/virthba.c +++ b/drivers/staging/unisys/virthba/virthba.c @@ -1400,7 +1400,7 @@ info_proc_read(struct file *file, char __user *buf, size_t len, loff_t *offset) virthbainfo = VirtHbasOpen[i].virthbainfo; length += sprintf(vbuf + length, "CHANSOCK is not defined.\n"); - length += sprintf(vbuf + length, "MaxBuffLen:%d\n", MaxBuffLen); + length += sprintf(vbuf + length, "MaxBuffLen:%u\n", MaxBuffLen); length += sprintf(vbuf + length, "\nvirthba result queue poll wait:%d usecs.\n", rsltq_wait_usecs);