summaryrefslogtreecommitdiff
path: root/shared-core/nouveau_mem.c
diff options
context:
space:
mode:
authorJeremy Kolb <jkolb@brandeis.edu>2007-10-14 10:56:17 -0400
committerJeremy Kolb <jkolb@brandeis.edu>2007-10-14 10:56:17 -0400
commit811e43f9e27abdf4c8a4b36c7c287e53134fc950 (patch)
treeff2a6ef840fd6ff2da7c38c5bd6936917b2dd5a1 /shared-core/nouveau_mem.c
parent8d3cb7e472ceb31a28de3acc19176e3a2d2995b1 (diff)
nouveau: fix warning.
Diffstat (limited to 'shared-core/nouveau_mem.c')
-rw-r--r--shared-core/nouveau_mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/nouveau_mem.c b/shared-core/nouveau_mem.c
index dbfba351..e2f0b38d 100644
--- a/shared-core/nouveau_mem.c
+++ b/shared-core/nouveau_mem.c
@@ -430,7 +430,7 @@ int nouveau_mem_init(struct drm_device *dev)
sgreq.size = 16 << 20; //16MB of PCI scatter-gather zone
if (drm_sg_alloc(dev, &sgreq)) {
- DRM_ERROR("Unable to allocate %dMB of scatter-gather"
+ DRM_ERROR("Unable to allocate %ldMB of scatter-gather"
" pages for PCI DMA!",sgreq.size>>20);
} else {
if (nouveau_mem_init_heap(&dev_priv->pci_heap, 0,