summaryrefslogtreecommitdiffstats
path: root/drivers/misc/parport_procfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/parport_procfs.c')
-rw-r--r--drivers/misc/parport_procfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/parport_procfs.c b/drivers/misc/parport_procfs.c
index f50754829..e75fba335 100644
--- a/drivers/misc/parport_procfs.c
+++ b/drivers/misc/parport_procfs.c
@@ -125,7 +125,7 @@ static int hardware_read_proc(char *page, char **start, off_t off,
struct parport *pp = (struct parport *)data;
int len=0;
- len += sprintf(page+len, "base:\t0x%x\n",pp->base);
+ len += sprintf(page+len, "base:\t0x%lx\n",pp->base);
if (pp->irq == PARPORT_IRQ_NONE)
len += sprintf(page+len, "irq:\tnone\n");
else