diff options
Diffstat (limited to 'bsd-core/sis_drv.c')
-rw-r--r-- | bsd-core/sis_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd-core/sis_drv.c b/bsd-core/sis_drv.c index 00a24300..8ad6414d 100644 --- a/bsd-core/sis_drv.c +++ b/bsd-core/sis_drv.c @@ -70,7 +70,7 @@ sis_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); sis_configure(dev); return drm_attach(nbdev, sis_pciidlist); |