diff options
Diffstat (limited to 'bsd-core/tdfx_drv.c')
-rw-r--r-- | bsd-core/tdfx_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsd-core/tdfx_drv.c b/bsd-core/tdfx_drv.c index eb263fcb..8fafe0fe 100644 --- a/bsd-core/tdfx_drv.c +++ b/bsd-core/tdfx_drv.c @@ -72,7 +72,7 @@ tdfx_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); tdfx_configure(dev); return drm_attach(nbdev, tdfx_pciidlist); |