summaryrefslogtreecommitdiff
path: root/bsd-core/r128_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsd-core/r128_drv.c')
-rw-r--r--bsd-core/r128_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd-core/r128_drv.c b/bsd-core/r128_drv.c
index 4e76ca51..03a97da0 100644
--- a/bsd-core/r128_drv.c
+++ b/bsd-core/r128_drv.c
@@ -85,7 +85,7 @@ r128_attach(device_t nbdev)
bzero(dev, sizeof(struct drm_device));
- dev->driver = malloc(sizeof(struct drm_driver_info), M_DRM, M_ZERO);
+ dev->driver = malloc(sizeof(struct drm_driver_info), M_DRM, M_NOWAIT | M_ZERO);
r128_configure(dev);
return drm_attach(nbdev, r128_pciidlist);