summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_iwi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/if_iwi.c')
-rw-r--r--sys/dev/pci/if_iwi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_iwi.c b/sys/dev/pci/if_iwi.c
index dcd2b963996..9766ba969e2 100644
--- a/sys/dev/pci/if_iwi.c
+++ b/sys/dev/pci/if_iwi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iwi.c,v 1.116 2013/12/06 21:03:04 deraadt Exp $ */
+/* $OpenBSD: if_iwi.c,v 1.117 2014/07/12 18:48:51 tedu Exp $ */
/*-
* Copyright (c) 2004-2008
@@ -2311,7 +2311,7 @@ iwi_init(struct ifnet *ifp)
goto fail2;
}
- free(data, M_DEVBUF);
+ free(data, M_DEVBUF, 0);
sc->sc_flags |= IWI_FLAG_FW_INITED;
if ((error = iwi_config(sc)) != 0) {
@@ -2330,7 +2330,7 @@ iwi_init(struct ifnet *ifp)
return 0;
-fail2: free(data, M_DEVBUF);
+fail2: free(data, M_DEVBUF, 0);
fail1: iwi_stop(ifp, 0);
return error;
}