X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Frtos%2Flinux.c;h=23b1a9e58c751dce6c571e448b29ad2d1b397edd;hp=e0f71ef46c83ca60170874d68adbdfe975216522;hb=9b6de72c2ba149ac6f3e11d6d0dd3030bf7b19f9;hpb=5914310f88161967cd1759e536f8069b9b15bdde diff --git a/src/rtos/linux.c b/src/rtos/linux.c index e0f71ef46c..23b1a9e58c 100644 --- a/src/rtos/linux.c +++ b/src/rtos/linux.c @@ -140,9 +140,9 @@ static int linux_read_memory(struct target *target, return ERROR_FAIL; } #ifdef PHYS - target->type->read_phys_memory(target, pa, size, count, buffer); + target_read_phys_memory(target, pa, size, count, buffer); #endif - target->type->read_memory(target, address, size, count, buffer); + target_read_memory(target, address, size, count, buffer); return ERROR_OK; }