summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-01-19 22:58:53 +0000
committerderaadt <deraadt@openbsd.org>2015-01-19 22:58:53 +0000
commit9d2af10dbe2a387510d36cecad6959dfc7b98ab4 (patch)
treefca5cc89e99ad4a1e7251ec92bcd468181380d0c
parentTalk about thread-local errno and do not mention "extern int errno". (diff)
downloadwireguard-openbsd-9d2af10dbe2a387510d36cecad6959dfc7b98ab4.tar.xz
wireguard-openbsd-9d2af10dbe2a387510d36cecad6959dfc7b98ab4.zip
never tested with a make release
-rw-r--r--sys/kern/subr_autoconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_autoconf.c b/sys/kern/subr_autoconf.c
index 7bb3acec49f..772038987ba 100644
--- a/sys/kern/subr_autoconf.c
+++ b/sys/kern/subr_autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_autoconf.c,v 1.81 2015/01/19 06:27:57 dlg Exp $ */
+/* $OpenBSD: subr_autoconf.c,v 1.82 2015/01/19 22:58:53 deraadt Exp $ */
/* $NetBSD: subr_autoconf.c,v 1.21 1996/04/04 06:06:18 cgd Exp $ */
/*
@@ -939,6 +939,6 @@ device_unref(struct device *dv)
dv->dv_ref--;
if (dv->dv_ref == 0) {
- free(dv, M_DEVBUF, ca->ca_devsize);
+ free(dv, M_DEVBUF, 0);
}
}