aboutsummaryrefslogtreecommitdiffstats
path: root/memcheck/memcheck.c
diff options
context:
space:
mode:
Diffstat (limited to 'memcheck/memcheck.c')
-rw-r--r--memcheck/memcheck.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/memcheck/memcheck.c b/memcheck/memcheck.c
index 8e0a1f8..3c8194a 100644
--- a/memcheck/memcheck.c
+++ b/memcheck/memcheck.c
@@ -138,7 +138,7 @@ av_access_violation(ProcDesc* proc,
}
memset(align, ' ', set_align);
align[set_align] = '\0';
- printf(align);
+ printf("%s", align);
if (inl[index].inlined_in_file == NULL) {
printf("inlined to %s in unknown location\n",
inl[index].routine_name);
@@ -561,7 +561,7 @@ void
memcheck_guest_print_str(target_ulong str) {
char str_copy[4096];
memcheck_get_guest_string(str_copy, str, sizeof(str_copy));
- printf(str_copy);
+ printf("%s", str_copy);
}
/* Validates read operations, detected in __ldx_mmu routine.