summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/udl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/udl.c')
-rw-r--r--sys/dev/usb/udl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/udl.c b/sys/dev/usb/udl.c
index 72e8304e9a8..4f14971d98c 100644
--- a/sys/dev/usb/udl.c
+++ b/sys/dev/usb/udl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: udl.c,v 1.61 2010/08/31 17:00:05 deraadt Exp $ */
+/* $OpenBSD: udl.c,v 1.62 2010/09/27 19:49:43 thib Exp $ */
/*
* Copyright (c) 2009 Marcus Glocker <mglocker@openbsd.org>
@@ -657,7 +657,7 @@ udl_alloc_screen(void *v, const struct wsscreen_descr *type,
/* allocate character backing store */
sc->sc_cbs = malloc((sc->sc_ri.ri_rows * sc->sc_ri.ri_cols) *
- sizeof(*sc->sc_cbs), M_DEVBUF, M_ZERO);
+ sizeof(*sc->sc_cbs), M_DEVBUF, M_NOWAIT|M_ZERO);
if (sc->sc_cbs == NULL) {
printf("%s: can't allocate mem for character backing store!\n",
DN(sc));