summaryrefslogtreecommitdiffstats
path: root/drivers/staging/udlfb
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2009-08-06 16:09:35 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 12:02:06 -0700
commitf66abce70504514b1173e4fc9973126b99f65d89 (patch)
treee3800bb17bcec3d49d2f9be512622b7b46b6be57 /drivers/staging/udlfb
parente82bf85ec92e9cb2db9b226c1a29e2219b489b94 (diff)
Staging: udlfb: fix printk format warning
Fix printk format warning: use %td for ptrdiff: drivers/staging/udlfb/udlfb.h:209: warning: format '%d' expects type 'int', but argument 3 has type 'long int' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/udlfb')
-rw-r--r--drivers/staging/udlfb/udlfb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/udlfb/udlfb.h b/drivers/staging/udlfb/udlfb.h
index 08bd671204b..40ad85ea8e6 100644
--- a/drivers/staging/udlfb/udlfb.h
+++ b/drivers/staging/udlfb/udlfb.h
@@ -205,7 +205,7 @@ static int dlfb_set_video_mode(struct dlfb_data *dev_info, int width, int height
/* send */
ret = dlfb_bulk_msg(dev_info, bufptr - dev_info->buf);
- printk("ret bulk 2: %d %d\n", ret,
+ printk("ret bulk 2: %d %td\n", ret,
bufptr - dev_info->buf);
/* flush */