X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Frtos%2Flinux.c;h=23b1a9e58c751dce6c571e448b29ad2d1b397edd;hb=8890ce34696d2e6a18eeda4a410724d24ad57360;hp=e0f71ef46c83ca60170874d68adbdfe975216522;hpb=a84d237acfa06ed2e40d5db807ff1a1a7d28cd8d;p=openocd.git 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; }