Index: mmio_rw.c
===================================================================
--- mmio_rw.c (revision 22)
+++ mmio_rw.c (working copy)
@@ -214,7 +214,8 @@
int bytes_printed = sizeof(*addr);
/* Print out the current address. */
if (!fields_on_line) {
- fprintf(stdout, "%p:", (void *)(long)desired_addr);
+ fprintf(stdout, "0x%016llx:",
+ (unsigned long long)desired_addr);
}
/* Print out the leftover bytes. */