summaryrefslogtreecommitdiffstats
path: root/drivers/staging/xgifb
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2010-06-17 13:10:33 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-06-22 14:20:36 -0700
commitacf82e050150490e7a2d795594b2c6cb54243bfd (patch)
tree775b478f82a80659eb93288f846de58d0a385ad2 /drivers/staging/xgifb
parente4cb3720bfcf8b57b4c5a2adbbb6b5967af53432 (diff)
downloadlinux-acf82e050150490e7a2d795594b2c6cb54243bfd.tar.gz
linux-acf82e050150490e7a2d795594b2c6cb54243bfd.tar.bz2
linux-acf82e050150490e7a2d795594b2c6cb54243bfd.zip
Staging: xgifb: use %lx instead of %x in printk format
This fixes compiler warning format '%x' expects type 'unsigned int', but argument 2 has type 'long unsigned int' Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/xgifb')
-rw-r--r--drivers/staging/xgifb/XGI_main_26.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI_main_26.c
index 68bc1d839ad6..4d8dadd17d93 100644
--- a/drivers/staging/xgifb/XGI_main_26.c
+++ b/drivers/staging/xgifb/XGI_main_26.c
@@ -3510,7 +3510,8 @@ int __devinit xgifb_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
XGIfb_registered = 1;
- printk(KERN_INFO "XGIfb: Installed XGIFB_GET_INFO ioctl (%x)\n", XGIFB_GET_INFO);
+ printk(KERN_INFO "XGIfb: Installed XGIFB_GET_INFO ioctl (%lx)\n",
+ XGIFB_GET_INFO);
/* printk(KERN_INFO "XGIfb: 2D acceleration is %s, scrolling mode %s\n",
XGIfb_accel ? "enabled" : "disabled",