diff options
author | mpi <mpi@openbsd.org> | 2020-04-15 14:51:45 +0000 |
---|---|---|
committer | mpi <mpi@openbsd.org> | 2020-04-15 14:51:45 +0000 |
commit | b85926451202cd00df67f4421aa5cca1b97c7b77 (patch) | |
tree | 2bbfc1b1f0e3ad276b50476018a39b02eff14ae8 /usr.sbin/btrace | |
parent | Stop including <machine/param.h> and <machine/vmparam.h>. (diff) | |
download | wireguard-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.c | 4 |
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; |