diff options
author | vanhauser-thc <vh@thc.org> | 2024-08-19 16:25:32 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2024-08-19 16:25:32 +0200 |
commit | 1689a8e053c1f73e16331bfeda28c79e1ed4bbd0 (patch) | |
tree | 8e1dbb1b8454c470aa5e0093f6d89c5cc86e9200 /utils/libtokencap/libtokencap.so.c | |
parent | 6edc3b51ba81d577eeb4a64299916c1eaadfdd70 (diff) | |
download | afl++-1689a8e053c1f73e16331bfeda28c79e1ed4bbd0.tar.gz |
code format, llvm 18
Diffstat (limited to 'utils/libtokencap/libtokencap.so.c')
-rw-r--r-- | utils/libtokencap/libtokencap.so.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/libtokencap/libtokencap.so.c b/utils/libtokencap/libtokencap.so.c index cc499150..8f693c51 100644 --- a/utils/libtokencap/libtokencap.so.c +++ b/utils/libtokencap/libtokencap.so.c @@ -167,7 +167,7 @@ static void __tokencap_load_mappings(void) { #elif defined __FreeBSD__ || defined __OpenBSD__ || defined __NetBSD__ - #if defined __FreeBSD__ + #if defined __FreeBSD__ int mib[] = {CTL_KERN, KERN_PROC, KERN_PROC_VMMAP, __tokencap_pid}; #elif defined __OpenBSD__ int mib[] = {CTL_KERN, KERN_PROC_VMMAP, __tokencap_pid}; @@ -183,7 +183,7 @@ static void __tokencap_load_mappings(void) { #if defined __FreeBSD__ || defined __NetBSD__ len = len * 4 / 3; - #elif defined __OpenBSD__ + #elif defined __OpenBSD__ len -= len % sizeof(struct kinfo_vmentry); #endif @@ -208,7 +208,7 @@ static void __tokencap_load_mappings(void) { #if defined __FreeBSD__ || defined __NetBSD__ - #if defined __FreeBSD__ + #if defined __FreeBSD__ size_t size = region->kve_structsize; if (size == 0) break; |