diff options
author | yuawn <ssspeed00@gmail.com> | 2021-12-11 10:20:40 +0000 |
---|---|---|
committer | yuawn <ssspeed00@gmail.com> | 2021-12-11 10:20:40 +0000 |
commit | 5b9397f3dda38df3f63bd31e4fb5f8ad64d9f271 (patch) | |
tree | e3eeb77e74527ace90961af9d3ffaf35ab7bf0b0 /utils | |
parent | 269054e5c5a5b8897dff230f4a5fe864e47d57ad (diff) | |
download | afl++-5b9397f3dda38df3f63bd31e4fb5f8ad64d9f271.tar.gz |
code format
Diffstat (limited to 'utils')
-rw-r--r-- | utils/libtokencap/libtokencap.so.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/utils/libtokencap/libtokencap.so.c b/utils/libtokencap/libtokencap.so.c index 2b1e3903..0db044a1 100644 --- a/utils/libtokencap/libtokencap.so.c +++ b/utils/libtokencap/libtokencap.so.c @@ -171,7 +171,7 @@ static void __tokencap_load_mappings(void) { int mib[] = {CTL_VM, VM_PROC, VM_PROC_MAP, __tokencap_pid, sizeof(struct kinfo_vmentry)}; #endif - char *buf, *low, *high; + char * buf, *low, *high; size_t miblen = sizeof(mib) / sizeof(mib[0]); size_t len; @@ -345,11 +345,7 @@ static void __tokencap_dump(const u8 *ptr, size_t len, u8 is_text) { wrt_ok &= (pos == write(__tokencap_out_file, buf, pos)); wrt_ok &= (2 == write(__tokencap_out_file, "\"\n", 2)); - if (!wrt_ok) { - - DEBUGF("%s", "writing to the token file failed\n"); - - } + if (!wrt_ok) { DEBUGF("%s", "writing to the token file failed\n"); } } |