]> git.gag.com Git - fw/openocd/blobdiff - src/target/mem_ap.c
mem_ap: fix format of logged addresses
[fw/openocd] / src / target / mem_ap.c
index 584e19d4c9247aad7783cb2ce99a714b6a1ea731..29cd37a90078bbefeb9a1dd323aff600787a3a65 100644 (file)
@@ -140,7 +140,7 @@ static int mem_ap_read_memory(struct target *target, target_addr_t address,
 {
        struct mem_ap *mem_ap = target->arch_info;
 
-       LOG_DEBUG("Reading memory at physical address 0x" TARGET_ADDR_FMT
+       LOG_DEBUG("Reading memory at physical address " TARGET_ADDR_FMT
                  "; size %" PRId32 "; count %" PRId32, address, size, count);
 
        if (count == 0 || buffer == NULL)
@@ -155,7 +155,7 @@ static int mem_ap_write_memory(struct target *target, target_addr_t address,
 {
        struct mem_ap *mem_ap = target->arch_info;
 
-       LOG_DEBUG("Writing memory at physical address 0x" TARGET_ADDR_FMT
+       LOG_DEBUG("Writing memory at physical address " TARGET_ADDR_FMT
                  "; size %" PRId32 "; count %" PRId32, address, size, count);
 
        if (count == 0 || buffer == NULL)