aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>2003-05-10 22:11:25 +0000
committerJulian Elischer <julian@FreeBSD.org>2003-05-10 22:11:25 +0000
commit335d40c8ffcf1b93777a157e24900fda50a7a62f (patch)
tree1fbaab18884f01dd030b5c93aecea71ec4ee52aa /sys/netgraph
parentab0c23d3e2da4edbcb7390db0b56f00f3c3bfe16 (diff)
downloadsrc-335d40c8ffcf1b93777a157e24900fda50a7a62f.tar.gz
src-335d40c8ffcf1b93777a157e24900fda50a7a62f.zip
Last commit of the bluetooth upgrade. (this patch was forgotten in the first
commit) Submitted by: Maksim Yevmenkin <m_evmenkin@yahoo.com> Approved by: re@
Notes
Notes: svn path=/head/; revision=114883
Diffstat (limited to 'sys/netgraph')
-rw-r--r--sys/netgraph/bluetooth/drivers/h4/ng_h4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/bluetooth/drivers/h4/ng_h4.c b/sys/netgraph/bluetooth/drivers/h4/ng_h4.c
index 6afde396a301..971079fdcaf4 100644
--- a/sys/netgraph/bluetooth/drivers/h4/ng_h4.c
+++ b/sys/netgraph/bluetooth/drivers/h4/ng_h4.c
@@ -25,7 +25,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ng_h4.c,v 1.4 2003/04/01 18:15:23 max Exp $
+ * $Id: ng_h4.c,v 1.5 2003/05/10 05:51:25 max Exp $
* $FreeBSD$
*
* Based on:
@@ -170,7 +170,7 @@ ng_h4_open(dev_t dev, struct tty *tp)
}
/* Initialize private struct */
- MALLOC(sc, ng_h4_info_p, sizeof(*sc), M_NETGRAPH_H4, M_ZERO);
+ MALLOC(sc, ng_h4_info_p, sizeof(*sc), M_NETGRAPH_H4, M_NOWAIT|M_ZERO);
if (sc == NULL) {
error = ENOMEM;
goto out;