summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2006-12-01 11:00:32 +0100
committerMichel Dänzer <michel@tungstengraphics.com>2006-12-01 11:00:32 +0100
commit74a92bbf6ea9b9766a2b827f22605559791569b8 (patch)
tree344c895289e18329b8ac73c890e2adb33deaf384
parenta97bb85c2a6852e37ed560e6cbe1242e5f68ad8d (diff)
Core build fix for BSD.texmem-1.0
-rw-r--r--bsd-core/drm_bufs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bsd-core/drm_bufs.c b/bsd-core/drm_bufs.c
index 33da79e7..343ab1e8 100644
--- a/bsd-core/drm_bufs.c
+++ b/bsd-core/drm_bufs.c
@@ -316,6 +316,9 @@ void drm_rmmap(drm_device_t *dev, drm_local_map_t *map)
case _DRM_CONSISTENT:
drm_pci_free(dev, map->dmah);
break;
+ default:
+ DRM_ERROR("Bad map type %d\n", map->type);
+ break;
}
if (map->bsr != NULL) {