about summary refs log tree commit diff
path: root/utils/qemu_persistent_hook/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/qemu_persistent_hook/test.c')
-rw-r--r--utils/qemu_persistent_hook/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/qemu_persistent_hook/test.c b/utils/qemu_persistent_hook/test.c
index afeff202..a0e815dc 100644
--- a/utils/qemu_persistent_hook/test.c
+++ b/utils/qemu_persistent_hook/test.c
@@ -2,7 +2,7 @@
 
 int target_func(unsigned char *buf, int size) {
 
-  printf("buffer:%p, size:%p\n", buf, size);
+  printf("buffer:%p, size:%d\n", buf, size);
   switch (buf[0]) {
 
     case 1: