summaryrefslogtreecommitdiff
path: root/sys/kern/kern_bufq.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2014-07-12 18:44:44 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2014-07-12 18:44:44 +0000
commit48b6cac396e42c57b5037f5a67d6cd7afb1733d6 (patch)
tree29d721c60c102e5fb6ed78e8ad45bbda321c951f /sys/kern/kern_bufq.c
parenta29a93ecbd0d69878182d5959b330ae5badcadc7 (diff)
add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.
Diffstat (limited to 'sys/kern/kern_bufq.c')
-rw-r--r--sys/kern/kern_bufq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_bufq.c b/sys/kern/kern_bufq.c
index 1aeade20884..911fe1b5f3d 100644
--- a/sys/kern/kern_bufq.c
+++ b/sys/kern/kern_bufq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_bufq.c,v 1.27 2014/06/27 16:38:03 miod Exp $ */
+/* $OpenBSD: kern_bufq.c,v 1.28 2014/07/12 18:43:32 tedu Exp $ */
/*
* Copyright (c) 2010 Thordur I. Bjornsson <thib@openbsd.org>
* Copyright (c) 2010 David Gwynne <dlg@openbsd.org>
@@ -330,7 +330,7 @@ bufq_fifo_create(void)
void
bufq_fifo_destroy(void *data)
{
- free(data, M_DEVBUF);
+ free(data, M_DEVBUF, 0);
}
void
@@ -447,7 +447,7 @@ bufq_nscan_create(void)
void
bufq_nscan_destroy(void *vdata)
{
- free(vdata, M_DEVBUF);
+ free(vdata, M_DEVBUF, 0);
}
void