summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/bluetooth/drivers
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2003-05-10 22:11:25 +0000
committerjulian <julian@FreeBSD.org>2003-05-10 22:11:25 +0000
commite27601698d5f9982352a16d9fd5c32c9cf63e049 (patch)
tree1fbaab18884f01dd030b5c93aecea71ec4ee52aa /sys/netgraph/bluetooth/drivers
parent545724682bfc6c1fbf42d1b4059184e420581927 (diff)
downloadFreeBSD-src-e27601698d5f9982352a16d9fd5c32c9cf63e049.zip
FreeBSD-src-e27601698d5f9982352a16d9fd5c32c9cf63e049.tar.gz
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@
Diffstat (limited to 'sys/netgraph/bluetooth/drivers')
-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 6afde39..971079f 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;
OpenPOWER on IntegriCloud