summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2006-10-30 11:17:55 -0800
committerEric Anholt <eric@anholt.net>2006-10-30 11:17:55 -0800
commit837b2f632062bc29268f109895a577bd90cabd6d (patch)
treec7171bff56a4171899daf4944900d09ccef2dee4
parentbca9e6ccbd14eb8f2f103e8e64b28a623113d494 (diff)
Warning fix.
-rw-r--r--src/i830_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index 688d970d..29c3ba3b 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -621,7 +621,7 @@ I830DetectMemory(ScrnInfoPtr pScrn)
vbeInfo = VBEGetVBEInfo(pI830->pVbe);
if (vbeInfo != NULL && vbeInfo->TotalMemory != memsize / 1024 / 64) {
xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
- "Detected stolen memory (%ld kB) doesn't match what the BIOS"
+ "Detected stolen memory (%d kB) doesn't match what the BIOS"
" reports (%d kB)\n",
ROUND_DOWN_TO(memsize / 1024, 64),
vbeInfo->TotalMemory * 64);