summaryrefslogtreecommitdiff
path: root/src/savage_driver.c
diff options
context:
space:
mode:
authorTormod Volden <debian.tormod@gmail.com>2011-01-23 22:47:01 +0100
committerAlex Deucher <alexdeucher@gmail.com>2011-01-25 13:27:47 -0500
commit9872b5f7ce7a7b07ff68bd2c389c56a3cb1b4ed6 (patch)
tree22cf57525bc58afa443176b7e3e8b358740f6630 /src/savage_driver.c
parentb018d343e6a6810afdaf1a73091dd9bc8c1c95bd (diff)
savage: Fix building with TRACEON defined
Two warnings and an error.
Diffstat (limited to 'src/savage_driver.c')
-rw-r--r--src/savage_driver.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/savage_driver.c b/src/savage_driver.c
index 1a76c77..3098731 100644
--- a/src/savage_driver.c
+++ b/src/savage_driver.c
@@ -648,7 +648,7 @@ static Bool SavageGetRec(ScrnInfoPtr pScrn)
static void SavageFreeRec(ScrnInfoPtr pScrn)
{
- TRACE(( "SavageFreeRec(%x)\n", pScrn->driverPrivate ));
+ TRACE(( "SavageFreeRec(%p)\n", pScrn->driverPrivate ));
if (!pScrn->driverPrivate)
return;
SavageUnmapMem(pScrn, 1);
@@ -3062,7 +3062,7 @@ static void SavageUnmapMem(ScrnInfoPtr pScrn, int All)
{
SavagePtr psav = SAVPTR(pScrn);
- TRACE(("SavageUnmapMem(%x,%x)\n", psav->MapBase, psav->FBBase));
+ TRACE(("SavageUnmapMem(%p,%p)\n", psav->MapBase, psav->FBBase));
if (psav->PrimaryVidMapped) {
vgaHWUnmapMem(pScrn);
@@ -4064,7 +4064,7 @@ SavageDoAdjustFrame(ScrnInfoPtr pScrn, int x, int y, int crtc2)
SavagePtr psav = SAVPTR(pScrn);
int address=0,top=0,left=0,tile_height,tile_size;
- TRACE(("SavageDoAdjustFrame(%d,%d,%x)\n", x, y, flags));
+ TRACE(("SavageDoAdjustFrame(%d,%d,%d)\n", x, y, crtc2));
if (psav->Chipset == S3_SAVAGE2000) {
tile_height = TILEHEIGHT_2000; /* 32 */