X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/ceaee6ce1809ef8bbdd69e14d85bb3b950ac5fa8..831ccb1f14f7472962fc2d185f32e18105209bd7:/lincan/src/m437.c diff --git a/lincan/src/m437.c b/lincan/src/m437.c index 00ac7c3..f72943a 100644 --- a/lincan/src/m437.c +++ b/lincan/src/m437.c @@ -71,8 +71,10 @@ int m437_request_io(struct candevice_t *candev) return -ENODEV; } - CANMSG("M437 Registered IO-memory: 0x%lx - 0x%lx\n", candev->io_addr, candev->io_addr + IO_RANGE - 1); - CANMSG("M437 IO-memory: 0x%lx Remapped to: 0x%lx\n", candev->io_addr, remap_addr); + CANMSG("M437 Registered IO-memory: 0x%lx - 0x%lx\n", + candev->io_addr, candev->io_addr + IO_RANGE - 1); + CANMSG("M437 IO-memory: 0x%lx Remapped to: 0x%lx\n", + (unsigned long)candev->io_addr, (unsigned long)remap_addr); /* remap the chip and pointers on objects */ can_base_addr_fixup(candev, remap_addr);