about summary refs log tree commit diff
path: root/utils/qemu_persistent_hook/read_into_rdi.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/qemu_persistent_hook/read_into_rdi.c')
-rw-r--r--utils/qemu_persistent_hook/read_into_rdi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/qemu_persistent_hook/read_into_rdi.c b/utils/qemu_persistent_hook/read_into_rdi.c
index 14b2ed85..3e913870 100644
--- a/utils/qemu_persistent_hook/read_into_rdi.c
+++ b/utils/qemu_persistent_hook/read_into_rdi.c
@@ -4,7 +4,7 @@
 #include <string.h>
 
 #define g2h(x) ((void *)((unsigned long)(x) + guest_base))
-#define h2g(x) ((uint64_t)(x)-guest_base)
+#define h2g(x) ((uint64_t)(x) - guest_base)
 
 void afl_persistent_hook(struct x86_64_regs *regs, uint64_t guest_base,
                          uint8_t *input_buf, uint32_t input_buf_len) {