about summary refs log tree commit diff
path: root/utils/libtokencap/libtokencap.so.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2023-11-09 15:13:51 +0100
committerGitHub <noreply@github.com>2023-11-09 15:13:51 +0100
commit61e27c6b54f7641a168b6acc6ecffb1754c10918 (patch)
treea82934c35bd84b2893b71646080e46433083d516 /utils/libtokencap/libtokencap.so.c
parent85c5b5218c6a7b2289f309fbd1625a5d0a602a00 (diff)
parenta6efdfdb15c8a48967ff773a0ca530a68544cd8f (diff)
downloadafl++-61e27c6b54f7641a168b6acc6ecffb1754c10918.tar.gz
Merge pull request #1906 from AFLplusplus/dev
Dev
Diffstat (limited to 'utils/libtokencap/libtokencap.so.c')
-rw-r--r--utils/libtokencap/libtokencap.so.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/libtokencap/libtokencap.so.c b/utils/libtokencap/libtokencap.so.c
index b21f3068..f4024799 100644
--- a/utils/libtokencap/libtokencap.so.c
+++ b/utils/libtokencap/libtokencap.so.c
@@ -55,7 +55,7 @@
 #elif defined __HAIKU__
   #include <kernel/image.h>
 #elif defined __sun
-  /* For map addresses the old struct is enough */
+/* For map addresses the old struct is enough */
   #include <sys/procfs.h>
   #include <limits.h>
 #endif
@@ -168,7 +168,7 @@ static void __tokencap_load_mappings(void) {
 #elif defined __FreeBSD__ || defined __OpenBSD__ || defined __NetBSD__
 
   #if defined   __FreeBSD__
-  int    mib[] = {CTL_KERN, KERN_PROC, KERN_PROC_VMMAP, __tokencap_pid};
+  int mib[] = {CTL_KERN, KERN_PROC, KERN_PROC_VMMAP, __tokencap_pid};
   #elif defined __OpenBSD__
   int mib[] = {CTL_KERN, KERN_PROC_VMMAP, __tokencap_pid};
   #elif defined __NetBSD__
@@ -209,7 +209,7 @@ static void __tokencap_load_mappings(void) {
   #if defined __FreeBSD__ || defined __NetBSD__
 
     #if defined   __FreeBSD__
-    size_t                size = region->kve_structsize;
+    size_t size = region->kve_structsize;
 
     if (size == 0) break;
     #elif defined __NetBSD__