X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Farmv7a.c;h=532b0b27ed2ae2cbd7503f7dc5e19a5ee8c73560;hp=e95e99b07b32cf1e655166137bc0fc41fbdbccfa;hb=dcfa3ac7c7e116d5ff70f7c69d4eff80b3495443;hpb=ef83a9ee9371f330075a5cb57b0dd515d75df8c2 diff --git a/src/target/armv7a.c b/src/target/armv7a.c index e95e99b07b..532b0b27ed 100644 --- a/src/target/armv7a.c +++ b/src/target/armv7a.c @@ -549,7 +549,7 @@ static int armv7a_read_mpidr(struct target *target) armv7a->multi_processor_system = (mpidr >> 30) & 1; armv7a->cluster_id = (mpidr >> 8) & 0xf; armv7a->cpu_id = mpidr & 0x3; - LOG_INFO("%s cluster %x core %x %s", target->cmd_name, + LOG_INFO("%s cluster %x core %x %s", target_name(target), armv7a->cluster_id, armv7a->cpu_id, armv7a->multi_processor_system == 0 ? "multi core" : "mono core");