summaryrefslogtreecommitdiffstats
path: root/usr.sbin/btrace
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2020-04-15 14:51:45 +0000
committermpi <mpi@openbsd.org>2020-04-15 14:51:45 +0000
commitb85926451202cd00df67f4421aa5cca1b97c7b77 (patch)
tree2bbfc1b1f0e3ad276b50476018a39b02eff14ae8 /usr.sbin/btrace
parentStop including <machine/param.h> and <machine/vmparam.h>. (diff)
downloadwireguard-openbsd-b85926451202cd00df67f4421aa5cca1b97c7b77.tar.xz
wireguard-openbsd-b85926451202cd00df67f4421aa5cca1b97c7b77.zip
Crank key size to 256 to avoid conflicts when storing stack traces in maps.
Diffstat (limited to 'usr.sbin/btrace')
-rw-r--r--usr.sbin/btrace/map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/btrace/map.c b/usr.sbin/btrace/map.c
index d4064d2df18..297c4a721d0 100644
--- a/usr.sbin/btrace/map.c
+++ b/usr.sbin/btrace/map.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: map.c,v 1.4 2020/03/19 15:52:30 mpi Exp $ */
+/* $OpenBSD: map.c,v 1.5 2020/04/15 14:51:45 mpi Exp $ */
/*
* Copyright (c) 2020 Martin Pieuchot <mpi@openbsd.org>
@@ -43,7 +43,7 @@
RB_HEAD(mtree, mentry);
-#define KLEN 64
+#define KLEN 256
struct mentry {
RB_ENTRY(mentry) mlink;