From 9c4130047f2f6557285b8f9594b4777e8a0f1509 Mon Sep 17 00:00:00 2001 From: Martin Pieuchot Date: Wed, 14 Nov 2018 17:52:49 +0000 Subject: Revert previous, it breaks regress. --- sys/kern/subr_extent.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys') 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 -- cgit v1.2.3