aboutsummaryrefslogtreecommitdiffstats
path: root/sctrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'sctrace.c')
-rw-r--r--sctrace.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sctrace.c b/sctrace.c
index 8f3fd46..17e8e76 100644
--- a/sctrace.c
+++ b/sctrace.c
@@ -59,6 +59,8 @@ usage(void)
static char *
get_string_or_memory(pid_t pid, unsigned long int addr, size_t m, int string, const char **errorp)
{
+ /* TODO use process_vm_readv if supported */
+
size_t orig_addr = (size_t)addr;
size_t off;
char *ret = NULL;