Debug printf format fix.
authorEric Anholt <anholt@freebsd.org>
Thu, 16 Oct 2003 03:19:06 +0000 (03:19 +0000)
committerEric Anholt <anholt@freebsd.org>
Thu, 16 Oct 2003 03:19:06 +0000 (03:19 +0000)
shared-core/sis_mm.c
shared/sis_mm.c

index 5b4ea1d..589e736 100644 (file)
@@ -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;
 }
index 5b4ea1d..589e736 100644 (file)
@@ -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;
 }