}
switch (errno) {
case ENOSYS:
+ /* never try it again */
process_vm_readv_not_supported = 1;
break;
case EPERM:
return -1;
default:
/* all the rest is strange and should be reported */
- perror_msg("process_vm_readv");
+ perror_msg("process_vm_readv: pid:%d @0x%" PRI_klx,
+ pid, addr);
return -1;
}
}
}
switch (errno) {
case ENOSYS:
+ /* never try it again */
process_vm_readv_not_supported = 1;
goto vm_readv_didnt_work;
case ESRCH:
return -1;
default:
/* all the rest is strange and should be reported */
- perror_msg("process_vm_readv");
+ perror_msg("process_vm_readv: pid:%d @0x%" PRI_klx,
+ pid, addr);
return -1;
}
}