summaryrefslogtreecommitdiff
path: root/buddy.h
diff options
context:
space:
mode:
authorMatthew Sotoudeh <matthew@masot.net>2024-05-16 02:33:39 -0700
committerMatthew Sotoudeh <matthew@masot.net>2024-05-16 02:33:39 -0700
commit2623dbaf1b8653c6ad49fa9fbcf99c5039086eb6 (patch)
treec53e54d4de64a34932ec83cc32e78e65d79f7135 /buddy.h
parented1ed2fc98cc795acd9bdc76be6d1df138c505c7 (diff)
fix small memcpy bug
Diffstat (limited to 'buddy.h')
-rw-r--r--buddy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/buddy.h b/buddy.h
index b335019..8a2ccac 100644
--- a/buddy.h
+++ b/buddy.h
@@ -2,7 +2,7 @@
#include <stdint.h>
#include <stddef.h>
-#define MAGIC_COOKIE_BYTES 64
+#define MAGIC_COOKIE_BYTES 32
#define ADDRESS_BITS (8 * sizeof(void*))
void init_buddy(uint8_t *base, size_t size,
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback