diff options
author | 2015-01-19 22:58:53 +0000 | |
---|---|---|
committer | 2015-01-19 22:58:53 +0000 | |
commit | 9d2af10dbe2a387510d36cecad6959dfc7b98ab4 (patch) | |
tree | fca5cc89e99ad4a1e7251ec92bcd468181380d0c | |
parent | Talk about thread-local errno and do not mention "extern int errno". (diff) | |
download | wireguard-openbsd-9d2af10dbe2a387510d36cecad6959dfc7b98ab4.tar.xz wireguard-openbsd-9d2af10dbe2a387510d36cecad6959dfc7b98ab4.zip |
never tested with a make release
-rw-r--r-- | sys/kern/subr_autoconf.c | 4 |
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); } } |