patch-2.1.68 linux/drivers/misc/parport_procfs.c

Next file: linux/drivers/misc/parport_share.c
Previous file: linux/drivers/misc/parport_pc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.67/linux/drivers/misc/parport_procfs.c linux/drivers/misc/parport_procfs.c
@@ -125,7 +125,7 @@
 	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

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov