summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2003-10-16 03:19:06 +0000
committerEric Anholt <anholt@freebsd.org>2003-10-16 03:19:06 +0000
commita9e1a57d6d03f9fc52357db8af7ac2e7b8a488e4 (patch)
treeba03c9bd6cf3692293e6c35d55c1140b2a80379b
parent9fbfb7ca6a7da93fda0d086a712108e1b14c99d1 (diff)
Debug printf format fix.
-rw-r--r--shared-core/sis_mm.c2
-rw-r--r--shared/sis_mm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/shared-core/sis_mm.c b/shared-core/sis_mm.c
index 5b4ea1d0..589e7364 100644
--- a/shared-core/sis_mm.c
+++ b/shared-core/sis_mm.c
@@ -132,7 +132,7 @@ int sis_fb_free( DRM_IOCTL_ARGS )
retval = DRM_ERR(EINVAL);
sis_free(fb.free);
- DRM_DEBUG("free fb, offset = %d\n", fb.free);
+ DRM_DEBUG("free fb, offset = 0x%x\n", fb.free);
return retval;
}
diff --git a/shared/sis_mm.c b/shared/sis_mm.c
index 5b4ea1d0..589e7364 100644
--- a/shared/sis_mm.c
+++ b/shared/sis_mm.c
@@ -132,7 +132,7 @@ int sis_fb_free( DRM_IOCTL_ARGS )
retval = DRM_ERR(EINVAL);
sis_free(fb.free);
- DRM_DEBUG("free fb, offset = %d\n", fb.free);
+ DRM_DEBUG("free fb, offset = 0x%x\n", fb.free);
return retval;
}