diff options
author | anholt <anholt> | 2003-09-07 23:56:20 +0000 |
---|---|---|
committer | anholt <anholt> | 2003-09-07 23:56:20 +0000 |
commit | f0a288daedaaf2213dc2e0054b679f9b2463173e (patch) | |
tree | 71e7ad1c45b42b12b9cd647d266b82fc72e8763d /xc/programs/Xserver | |
parent | f03dccf5a43bfbd051d6515a77467a85c6e7b8bb (diff) |
Correct format in debug printfs (free is a pointer, not an int).
Diffstat (limited to 'xc/programs/Xserver')
-rw-r--r-- | xc/programs/Xserver/hw/xfree86/os-support/shared/drm/kernel/sis_mm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xc/programs/Xserver/hw/xfree86/os-support/shared/drm/kernel/sis_mm.c b/xc/programs/Xserver/hw/xfree86/os-support/shared/drm/kernel/sis_mm.c index 46cc0efa7..5b4ea1d05 100644 --- a/xc/programs/Xserver/hw/xfree86/os-support/shared/drm/kernel/sis_mm.c +++ b/xc/programs/Xserver/hw/xfree86/os-support/shared/drm/kernel/sis_mm.c @@ -229,7 +229,7 @@ int sis_fb_free( DRM_IOCTL_ARGS ) return DRM_ERR(EINVAL); mmFreeMem((PMemBlock)fb.free); - DRM_DEBUG("free fb, free = %d\n", fb.free); + DRM_DEBUG("free fb, free = 0x%lx\n", fb.free); return 0; } @@ -318,7 +318,7 @@ int sis_ioctl_agp_free( DRM_IOCTL_ARGS ) if (!del_alloc_set(agp.context, AGP_TYPE, agp.free)) return DRM_ERR(EINVAL); - DRM_DEBUG("free agp, free = %d\n", agp.free); + DRM_DEBUG("free agp, free = 0x%lx\n", agp.free); return 0; } |