diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2018-11-14 17:52:49 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2018-11-14 17:52:49 +0000 |
commit | 9c4130047f2f6557285b8f9594b4777e8a0f1509 (patch) | |
tree | cb3a225758d01790ed69dbda32d100c2bae44b63 /sys | |
parent | 3c55beb7730e457343e2786ab09bd82f834e098e (diff) |
Revert previous, it breaks regress.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/subr_extent.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/subr_extent.c b/sys/kern/subr_extent.c index eb8e938b88f..03fe2abe42c 100644 --- a/sys/kern/subr_extent.c +++ b/sys/kern/subr_extent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_extent.c,v 1.59 2018/11/14 17:48:52 mpi Exp $ */ +/* $OpenBSD: subr_extent.c,v 1.60 2018/11/14 17:52:48 mpi Exp $ */ /* $NetBSD: subr_extent.c,v 1.7 1996/11/21 18:46:34 cgd Exp $ */ /*- @@ -66,8 +66,8 @@ struct pool { }; #define pool_init(a, b, c, d, e, f, g) do { (a)->pr_size = (b); } while (0) -#define pool_get(pp, flags) malloc((pp)->pr_size) -#define pool_put(pp, rp) free((rp)) +#define pool_get(pp, flags) malloc((pp)->pr_size, 0, 0) +#define pool_put(pp, rp) free((rp), 0, 0) #define panic(...) do { warnx(__VA_ARGS__); abort(); } while (0) #endif |