summaryrefslogtreecommitdiff
path: root/sys/dev/bio.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2014-07-12 18:48:54 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2014-07-12 18:48:54 +0000
commit9355adab6702f4798111e38a2e7e7be541270937 (patch)
tree1fda49353b276c780d60c7609e331839f2c13505 /sys/dev/bio.c
parent48b6cac396e42c57b5037f5a67d6cd7afb1733d6 (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/dev/bio.c')
-rw-r--r--sys/dev/bio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/bio.c b/sys/dev/bio.c
index 9fa89ddfd7c..42956d5820b 100644
--- a/sys/dev/bio.c
+++ b/sys/dev/bio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bio.c,v 1.14 2012/01/20 12:38:20 jsing Exp $ */
+/* $OpenBSD: bio.c,v 1.15 2014/07/12 18:48:17 tedu Exp $ */
/*
* Copyright (c) 2002 Niklas Hallqvist. All rights reserved.
@@ -134,7 +134,7 @@ bio_unregister(struct device *dev)
if (dev == bm->bm_dev) {
LIST_REMOVE(bm, bm_link);
- free(bm, M_DEVBUF);
+ free(bm, M_DEVBUF, 0);
}
}
}