Use %p to print a pointer, so that its length doesn't matter and so that gcc won't complain. drivers/mtd/maps/dilnetpc.c:416: warning: long unsigned int format, pointer arg (arg 2) Signed-off-by: Randy Dunlap diffstat:= drivers/mtd/maps/dilnetpc.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -Naurp ./drivers/mtd/maps/dilnetpc.c~dilnetpc_printk ./drivers/mtd/maps/dilnetpc.c --- ./drivers/mtd/maps/dilnetpc.c~dilnetpc_printk 2004-08-13 22:36:32.000000000 -0700 +++ ./drivers/mtd/maps/dilnetpc.c 2004-10-12 09:24:31.692189064 -0700 @@ -413,7 +413,7 @@ static int __init init_dnpc(void) } simple_map_init(&dnpc_map); - printk("FLASH virtual address: 0x%lx\n", dnpc_map.virt); + printk("FLASH virtual address: 0x%p\n", dnpc_map.virt); mymtd = do_map_probe("jedec_probe", &dnpc_map);